cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Problems with curl timeout setting

From: <127546_at_sms13.de>
Date: Thu, 27 Jan 2011 15:49:14 +0100

Hello Daniel,

Thursday, January 27, 2011, 3:43:44 PM, you wrote:

> On Thu, 27 Jan 2011, Daniel Stenberg wrote:

>> Yes. We can probably just edit one of the examples (like this:
>> http://curl.haxx.se/libcurl/c/multi-single.html) with the added timeout
>> values and use against 'nc' to see that it times out accurately.

> I just did, and when connecting to nc on a given port it actually timed out
> exactly on the given millisecond:

> * Operation timed out after 2995 milliseconds with 0 out of -1 bytes received

> So I guess this is not repeating your case closely enough. Do you know what
> libcurl does at the moment it times out? I mean has it connected to the remote
> port already, is it still connecting or is it waiting for data?

did you use multi interface? We are just writing this in C.
can you show us your code?

-- 
Best regards,
 127546                            mailto:127546_at_sms13.de
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2011-01-27