From owner-cvs-all@FreeBSD.ORG Fri Feb 18 19:26:41 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 096D616A556; Fri, 18 Feb 2005 19:26:39 +0000 (GMT) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 834E943D41; Fri, 18 Feb 2005 19:26:38 +0000 (GMT) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-89-53.dsl.snfc21.pacbell.net [63.201.89.53])j1IJQq2Y023819; Fri, 18 Feb 2005 14:26:53 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (Postfix) with ESMTP id 5794275E077; Fri, 18 Feb 2005 12:29:29 -0800 (PST) Date: Fri, 18 Feb 2005 12:29:29 -0800 (PST) From: Kelly Yancey To: Colin Percival In-Reply-To: <42150889.7040609@freebsd.org> Message-ID: <20050218122827.P12276@gateway.posi.net> References: <200502160022.j1G0MK3P059683@repoman.freebsd.org> <42150889.7040609@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: Kelly Yancey Subject: Re: 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: Fri, 18 Feb 2005 19:26:42 -0000 On Thu, 17 Feb 2005, Colin Percival wrote: > Kelly Yancey wrote: > > Set TCP_NOPUSH on HTTP requests, reducing the number of round-trips > > necessary to establish each connection. > > Funny, I was talking to murray about this just a couple of days ago. My > solution, written with a view towards pipelined http, was to write the > request into a buffer and then execute a single syscall to send the entire > request at once; but TCP_NOPUSH is probably a better solution for now. > > Colin Percival > Yeah, that would be a better solution long-term as it would apply to HTTP PUT requests too (currently unimplemented). Kelly -- Kelly Yancey - kbyanc@{posi.net,FreeBSD.org} - kelly@nttmcl.com