From owner-cvs-src@FreeBSD.ORG Mon Apr 23 06:44:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A195016A401; Mon, 23 Apr 2007 06:44:58 +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 57B5113C43E; Mon, 23 Apr 2007 06:44:58 +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 833052083; Mon, 23 Apr 2007 08:44:54 +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 70350207E; Mon, 23 Apr 2007 08:44:54 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 4B7EC570B; Mon, 23 Apr 2007 08:44:54 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Nate Lawson References: <200704222233.l3MMXUKH045452@repoman.freebsd.org> Date: Mon, 23 Apr 2007 08:44:54 +0200 In-Reply-To: <200704222233.l3MMXUKH045452@repoman.freebsd.org> (Nate Lawson's message of "Sun, 22 Apr 2007 22:33:29 +0000 (UTC)") Message-ID: <86abwzio7t.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: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch fetch.3 ftp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2007 06:44:58 -0000 Nate Lawson writes: > Log: > Add back the original behavior of changing the entire directory path at > once (CWD a/b/c vs. 3 CWDs). If an error occurs, we fall back to the d= efault > method of a single CWD per directory element. Since this is technically > a violation of the basic FTP RFC Actually, it's a violation not of RFC959 (FTP) but of RFC1738 which indicates how FTP URLs should be handled. > , this behavior is under a compile-time > option FTP_COMBINE_CWDS and is off by default. It should work with most > Unix-based FTP daemons and can save latency. Thanks. I'm going to set up a ports fetch run with FTP_COMBINE_CWDS enabled to see how it works out in the ugly, real world. If it works out well, I might replace the #ifdef with a command-line option or environment variable for "strict RFC conformance". DES --=20 Dag-Erling Sm=F8rgrav - des@des.no