freebsd-dev/lib/libfetch
Dag-Erling Smørgrav 2761348f78 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
2002-10-27 16:11:21 +00:00
..
common.c Introduce _fetch_writev(), which is the conn_t version of writev(2). In 2002-10-27 16:11:21 +00:00
common.h Introduce _fetch_writev(), which is the conn_t version of writev(2). In 2002-10-27 16:11:21 +00:00
fetch.3
fetch.c Add SSL support + slight cleanup. 2002-06-05 12:46:36 +00:00
fetch.h Surround prototypes with __BEGIN_DECLS / __END_DECLS. 2002-07-22 16:11:39 +00:00
file.c Reindent, and add parentheses to return statements. Some functions in 2002-02-05 22:13:51 +00:00
ftp.c The FTP connection caching needs a better interface -- connections are 2002-10-25 01:17:32 +00:00
ftp.errors
http.c Eliminate two cases of undefined behaviour: total in _fetch_write() was 2002-10-27 15:43:40 +00:00
http.errors
Makefile Use a warns setting we can catch regressions with. 2002-10-20 23:50:28 +00:00