Re: bug 1592

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 8 Sep 2006 13:29:25 +0800

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
Received on Thu Sep 07 2006 - 23:28:37 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT