From owner-freebsd-current@FreeBSD.ORG Thu Mar 29 18:34:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 099F216A400 for ; Thu, 29 Mar 2007 18:34:06 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B488413C448 for ; Thu, 29 Mar 2007 18:34:05 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 846382085; Thu, 29 Mar 2007 20:33:59 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 0BAB2207E; Thu, 29 Mar 2007 20:33:59 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id E9519A1075; Thu, 29 Mar 2007 20:33:58 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Pieter de Goeje References: <460AE39B.4070706@root.org> <86odmcqylx.fsf@dwp.des.no> <200703291905.00192.pieter@degoeje.nl> <86k5wzq4vx.fsf@dwp.des.no> Date: Thu, 29 Mar 2007 20:33:58 +0200 In-Reply-To: <86k5wzq4vx.fsf@dwp.des.no> (Dag-Erling =?iso-8859-1?Q?Sm=F8r?= =?iso-8859-1?Q?grav's?= message of "Thu, 29 Mar 2007 20:30:26 +0200") Message-ID: <86fy7nq4q1.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, current@freebsd.org, Nate Lawson Subject: Re: libfetch ftp patch for less latency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 18:34:06 -0000 Dag-Erling Sm=F8rgrav writes: > Pieter de Goeje writes: > > Dag-Erling Sm=F8rgrav writes: > > > No. This is a violation of the FTP protocol. > > I'm reading rfc 959 right now, and it include examples of CWD with > > full pathname (multiple directories). Actually the rfc is kinda > > vague about this. > RFC959 does not require or guarantee that the path separator is /, nor > that "CD ../foo" does what you expect. There are also issues when the > initial CWD is not / (the document part in an FTP URL is relative to > the initial CWD, not absolute) I guess I should amend "this is a violation of the FTP protocol" to "this relies on assumptions which the FTP RFC does not allow us to make, and is a violation of RFC1738" DES --=20 Dag-Erling Sm=F8rgrav - des@des.no