cvs commit: src/lib/libfetch http.c
kbyanc at FreeBSD.org
Wed Mar 2 11:09:29 PST 2005
kbyanc 2005-03-02 19:09:28 UTC
FreeBSD src repository
Set the TCP_NODELAY socket option and clear TCP_NOPUSH in order to flush
any pending HTTP request rather than calling shutdown(2) with SHUT_WR.
This makes libfetch (and thus fetch(1)) work again with Squid proxies
configured to not allow half-closed connections.
Reported by: Pawel Worach (pawel.worach AT telia DOT com)
Revision Changes Path
1.76 +15 -2 src/lib/libfetch/http.c
More information about the cvs-all