On Fri, Sep 08, 2006, Henrik Nordstrom wrote:

> I think for 3.0 we should be similar to 2.6. Protocol registers the
> error in fwdState and then closes the connection or otherwise
> deassociates the fd from the fwdState.
> 
> For 3.1 we may rethink stuff. Find the current (2.6) delay of actual
> error propagation a bit odd and hard to follow unless you have already
> been down that path once.

Heh.

Ok, here's the updated patch which I -think- DTRT. I'd appreciate some checking
though!

http://www.creative.net.au/diffs/20060908-ftp.diff

FTP auth failure still works fine (Spits back an error.)
FTP non-found still works fine (spits back an error; doesn't crash.)
FTP non-found w/ HEAD still works fine - but for the moment returns 200 OK.
FTP auth'ed request with a valid file there also works fine.





Adrian

Reply via email to