cvs commit: src/lib/libfetch fetch.3 ftp.c
des at des.no
Mon Apr 23 06:44:58 UTC 2007
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".
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src