On Tue, Nov 08, 2011 at 08:35:56PM +0100, Marcin Adamski wrote:
> The problem in this particular case is that in tcpdump output I see that my 
> application/libcurl initialises TCP connection and then immediately finishes 
> it. There is no FTP request/response sent or received. I can provide tcpdump 
> output if needed.

Ah, I see that now in the timestamps.

> However I don't have any problems when I use other FTP clients, when I use 
> CURL from command line (without any timeouts set) or when I perform transfers 
> from my application but with FTP_RESPONSE_TIMEOUT set to 90s instead of 15s. 
> Anyway 15s is much more than these miliseconds within I get that timeout.

Are you sure you're setting the timeouts correctly? i.e. using
milliseconds and not seconds if appropriate, and passing in long values,
not ints?  What does your main curl_multi loop look like?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to