From owner-freebsd-chat Wed Jun 13 12: 5:46 2001 Delivered-To: freebsd-chat@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 314ED37B412 for ; Wed, 13 Jun 2001 12:05:30 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id VAA23681; Wed, 13 Jun 2001 21:05:26 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Garrett Wollman Cc: "Crist Clark" , chat@FreeBSD.ORG Subject: Re: FW: FTP almost gone now? (was: Re: IPFW almost works now.) References: <3B27A478.85A21D3F@globalstar.com> <200106131853.OAA03917@khavrinen.lcs.mit.edu> From: Dag-Erling Smorgrav Date: 13 Jun 2001 21:05:26 +0200 In-Reply-To: <200106131853.OAA03917@khavrinen.lcs.mit.edu> Message-ID: Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Garrett Wollman writes: > < said: > > HTTP is stateless. FTP has state. /All/ of the information required to > > do the transaction must go out with each individual HTTP request. > In the case we have been discussing, there is no state other than > authentication, and perhaps ``working directory''. As the author of the current incarnation of fetch(1), I'll back up Garrett here and confirm that HTTP is a much more network- and resource-friendly protocol than FTP. HTTP is perceived as heavier because HTTP servers are generally much more featureful (or bloated - it's all in the eye of the beholder) than FTP servers; they're also younger and more complex, and therefore more error-prone than most FTP servers; but none of that is to be blamed on the protocol itself. If you want to compare FTP and HTTP on an equal basis, send Apache packing and try thttpd instead (it's in the ports tree) - and even thttpd could easily be improved upon (amongst other issues, it doesn't use sendfile(2)). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message