From owner-cvs-all@FreeBSD.ORG Wed Mar 2 19:09:28 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEB7F16A4CE; Wed, 2 Mar 2005 19:09:28 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A24A843D3F; Wed, 2 Mar 2005 19:09:28 +0000 (GMT) (envelope-from kbyanc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j22J9SW1097168; Wed, 2 Mar 2005 19:09:28 GMT (envelope-from kbyanc@repoman.freebsd.org) Received: (from kbyanc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j22J9SZK097167; Wed, 2 Mar 2005 19:09:28 GMT (envelope-from kbyanc) Message-Id: <200503021909.j22J9SZK097167@repoman.freebsd.org> From: Kelly Yancey Date: Wed, 2 Mar 2005 19:09:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libfetch http.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 19:09:29 -0000 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