curl-library
Re: [PATCH] ftp: prevent server from hanging on closed data connection
Date: Thu, 04 Nov 2010 17:08:27 +0000
On 04/11/10 16:32, Kamil Dudka wrote:
> It sounds like a good idea. But how would we recognize the case we
> need to
> wait for some additional response?
>
> I am considering the following scenarios:
>
> 1)> ABOR
> < 225 ABOR command successful.
>
> 2)> ABOR
> < 226 Since you see this ABOR must've succeeded
>
> 3)> ABOR
> < 226 File send OK.
> < 225 No transfer to ABOR.
>
> 4)> ABOR
> < 426 Failure writing network stream.
> < 225 No transfer to ABOR.
>
This would certainly work for the case that I was observing and I can't
think of any other response code combinations that make sense.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-04