From owner-cvs-all@FreeBSD.ORG Sun Apr 22 22:33:30 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54C8316A400; Sun, 22 Apr 2007 22:33:30 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2E51B13C458; Sun, 22 Apr 2007 22:33:30 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3MMXUo6045453; Sun, 22 Apr 2007 22:33:30 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3MMXUKH045452; Sun, 22 Apr 2007 22:33:30 GMT (envelope-from njl) Message-Id: <200704222233.l3MMXUKH045452@repoman.freebsd.org> From: Nate Lawson Date: Sun, 22 Apr 2007 22:33:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libfetch fetch.3 ftp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 22 Apr 2007 22:33:30 -0000 njl 2007-04-22 22:33:29 UTC FreeBSD src repository Modified files: lib/libfetch fetch.3 ftp.c 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 default method of a single CWD per directory element. Since this is technically a violation of the basic FTP RFC, 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. MFC after: 2 weeks Revision Changes Path 1.62 +11 -1 src/lib/libfetch/fetch.3 1.96 +23 -1 src/lib/libfetch/ftp.c