cvs commit: src/lib/libfetch fetch.3 ftp.c
nate at root.org
Mon Apr 23 15:43:03 UTC 2007
Dag-Erling Smørgrav wrote:
> Nate Lawson <njl at FreeBSD.org> writes:
>> 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
> 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.
> 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".
Thanks for doing the testing.
More information about the cvs-src