libfetch ftp patch for less latency
Dag-Erling Smørgrav
des at des.no
Thu Mar 29 18:57:22 UTC 2007
Dag-Erling Smørgrav <des at des.no> writes:
> Pieter de Goeje <pieter at degoeje.nl> writes:
> > Dag-Erling Smørgrav <des at des.no> 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
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-current
mailing list