Date: Sun, 27 Oct 2002 08:11:21 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libfetch common.c common.h Message-ID: <200210271611.g9RGBLO6011365@repoman.freebsd.org>
index | next in thread | raw e-mail
des 2002/10/27 08:11:21 PST
Modified files:
lib/libfetch common.c common.h
Log:
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
Revision Changes Path
1.36 +34 -7 src/lib/libfetch/common.c
1.25 +4 -0 src/lib/libfetch/common.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210271611.g9RGBLO6011365>
