From owner-freebsd-arch@FreeBSD.ORG Fri Aug 12 13:50:19 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26E4416A41F for ; Fri, 12 Aug 2005 13:50:19 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6148543D48 for ; Fri, 12 Aug 2005 13:50:18 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd5mr5so.prod.shaw.ca (pd5mr5so-qfe3.prod.shaw.ca [10.0.141.181]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IL400HNR392K580@l-daemon> for freebsd-arch@freebsd.org; Fri, 12 Aug 2005 07:39:02 -0600 (MDT) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd5mr5so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IL400083392PQ40@pd5mr5so.prod.shaw.ca> for freebsd-arch@freebsd.org; Fri, 12 Aug 2005 07:39:02 -0600 (MDT) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.209.6]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IL40051J392U5@l-daemon> for freebsd-arch@freebsd.org; Fri, 12 Aug 2005 07:39:02 -0600 (MDT) Date: Fri, 12 Aug 2005 06:39:01 -0700 From: Colin Percival In-reply-to: <8664ub4bp3.fsf@xps.des.no> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Message-id: <42FCA675.7090300@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en References: <42F62C5F.6000609@freebsd.org> <20050807.101746.68985623.imp@bsdimp.com> <42F636BE.3020906@freebsd.org> <8664ub4bp3.fsf@xps.des.no> User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050724) Cc: freebsd-arch@freebsd.org Subject: Re: Adding portsnap to the base system X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 13:50:19 -0000 Dag-Erling Smørgrav wrote: > Colin Percival writes: >>Yes, pipelined HTTP. Basically, I spent six months on-and-off, and >>at least two weeks of actual work, trying to fit pipelined HTTP into >>fetch(3)... but the design of that library is all around the idea of >>fetching a single file at once. In the end I gave up and wrote my >>own code (phttpget) in under 24 hours. > > You are mistaken. Pipelined HTTP can be implemented in libfetch with > the same ease (and the same limitations) as FTP connection caching, > which was included from the start. Well, err... go ahead, then. I'm not going to tell the author of a library that his library can't be modified to include a feature; all I can do is point out that my best efforts were insufficient. I can see that it would be very easy to implement _persistent_ HTTP, but implementing _pipelined_ HTTP is quite a different matter... Colin Percival