From owner-cvs-src@FreeBSD.ORG Fri Feb 18 22:39:35 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CEF416A4CE; Fri, 18 Feb 2005 22:39:35 +0000 (GMT) Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F6ED43D46; Fri, 18 Feb 2005 22:39:34 +0000 (GMT) (envelope-from pawel.worach@telia.com) Received: from [127.0.0.1] (81.225.14.129) by pne-smtpout1-sn2.hy.skanova.net (7.1.026.7) (authenticated as u86211448) id 41E32167005FFE71; Fri, 18 Feb 2005 23:39:33 +0100 Message-ID: <42166EAA.2060001@telia.com> Date: Fri, 18 Feb 2005 23:39:38 +0100 From: Pawel Worach User-Agent: Mozilla Thunderbird 1.0 (X11/20050214) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kelly Yancey References: <200502160022.j1G0MK3P059683@repoman.freebsd.org> In-Reply-To: <200502160022.j1G0MK3P059683@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch http.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 22:39:35 -0000 Kelly Yancey wrote: > kbyanc 2005-02-16 00:22:20 UTC > > FreeBSD src repository > > Modified files: > lib/libfetch http.c > Log: > Set TCP_NOPUSH on HTTP requests, reducing the number of round-trips > necessary to establish each connection. > This seems to have broken fetch though a http proxy (in this case squid on Solaris). # fetch -v http://news.bbc.co.uk/ looking up proxy.here connecting to proxy.here:8080 requesting http://news.bbc.co.uk/ fetch: http://news.bbc.co.uk/: Unknown error: 0 tcpdump on proxy box: # /opt/sfw/sbin/tcpdump -vvv -tt port 8080 and host client tcpdump: listening on hme0 1108766119.732379 client.41047 > proxy.8080: S 3519007752:3519007752(0) win 65535 (DF) (ttl 64, id 29064, len 64) 1108766119.732409 proxy.8080 > client.41047: S 2176773672:2176773672(0) ack 3519007753 win 49232 (DF) (ttl 64, id 54201, len 64) 1108766119.732719 client.41047 > proxy.8080: . [tcp sum ok] 1:1(0) ack 1 win 33304 (DF) (ttl 64, id 29065, len 52) 1108766119.733003 client.41047 > proxy.8080: FP 1:113(112) ack 1 win 33304 (DF) (ttl 64, id 29066, len 164) 1108766119.733268 proxy.8080 > client.41047: . [tcp sum ok] 1:1(0) ack 114 win 49232 (DF) (ttl 64, id 54202, len 52) 1108766119.734710 proxy.8080 > client.41047: F [tcp sum ok] 1:1(0) ack 114 win 49232 (DF) (ttl 64, id 54204, len 52) 1108766119.734998 client.41047 > proxy.8080: . [tcp sum ok] 114:114(0) ack 2 win 33303 (DF) (ttl 64, id 29068, len 52) Reverting lib/libfetch/http.c to 1.74 makes the problem go away. -- Pawel