curl-library
Re: Active FTP failures while lacking available file handles
Date: Fri, 2 Dec 2011 10:17:15 +0100 (CET)
On Thu, 1 Dec 2011, Gokhan Sengun wrote:
> With better debugging, it looks nothing is trashed. The remaining of input
> is kept in pingpong structure (pp->cache) of the connection. Checking the
> cache size and reading server response once more allows to appreciate 425
> and take the correct action and handle below case.
>
>> <150 -> Handled
>> <425 -> Disposed
>> AllowServerConnect -> Waits forever
Right, which was exactly what I guesses. We "just" need to fix the code to
that this check...
> The case below however requires monitoring of both control and data
> connection via poll...
>> <150
>> Curl calls AllowServerConnect
>> <425
Correct, and I that's what I said as well. It too needs the code to be
adjusted so that we monitor the control connection while waiting for the data
connection to connect.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-12-02