diff options
author | des <des@FreeBSD.org> | 2002-10-27 16:11:21 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-10-27 16:11:21 +0000 |
commit | 34e6c489c762ffd7ea3491b3cf85302c64a36b97 (patch) | |
tree | eec6756c8581909e18114c1772d9c8ca0d67bbe0 /lib/libc/sys/__error.c | |
parent | e6f3037210bd2a8b2debfe2237120ff0c87b2566 (diff) | |
download | FreeBSD-src-34e6c489c762ffd7ea3491b3cf85302c64a36b97.zip FreeBSD-src-34e6c489c762ffd7ea3491b3cf85302c64a36b97.tar.gz |
Introduce _fetch_writev(), which is the conn_t version of writev(2). In
the SSL case, it is no different from the old _fetch_write(), but in the
non-SSL case it uses writev(2) to send the entire vector as a single
packet (provided it can fit in one packet). Implement _fetch_write()
and _fetch_putln() in terms of _fetch_writev().
This should improve performance in the non-SSL case (by reducing protocol
overhead) and solve the problem where too-smart-for-their-own-good
firewalls reject FTP packets that do not end in CRLF.
PR: bin/44123
Submitted by: fenner
Diffstat (limited to 'lib/libc/sys/__error.c')
0 files changed, 0 insertions, 0 deletions