Re: libfetch ftp patch for less latency

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 18 Apr 2007 16:48:45 -0400
On Saturday 07 April 2007 15:47, Nate Lawson wrote:
> Dag-Erling Smørgrav wrote:
> > Nate Lawson <nate_at_root.org> writes:
> >> Obviously, it's easier to do nothing than something.  So here are some
> >> options:
> >>
> >> 1. Add my patch -- if a server returns an error, I see no way it would
> >> have changed the PWD.  If you say "CD GARBAGE", what reasonable system
> >> would return an error and change to some random dir?
> >>
> >> 2. Add an env variable (similar to FTP_PASSIVE_MODE, say
> >> "FTP_SINGLE_CWD") which forces the current behavior.  If not set, fetch
> >> tries the multi-method first, falls back to the single-method on error.
> > 
> > No.
> > 
> > Thanks,
> > 
> > DES
> 
> I forgot:
> 
> 3. #ifdef (on or off by default)
> 
> Also, can I hear from anyone else besides Mr. No?

I'm hestitant to make fetch explicitly not follow the RFC.  At the least it
should follow the RFC by default.  Having it not follow the RFC actually
broke stuff at work until I fixed it.

-- 
John Baldwin
Received on Wed Apr 18 2007 - 22:48:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC