Date: Wed, 2 Mar 2005 19:09:28 +0000 (UTC) From: Kelly Yancey <kbyanc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libfetch http.c Message-ID: <200503021909.j22J9SZK097167@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kbyanc 2005-03-02 19:09:28 UTC
FreeBSD src repository
Modified files:
lib/libfetch http.c
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503021909.j22J9SZK097167>
