On Fri, 1 May 2009, Paul Dix wrote:

curl_easy_setopt(easy_handle, 155, 500); // for say 500 ms timeout.
where 155 is the CURLOPT_TIMEOUT_MS value

Why on earth would you use 155 and not CURLOPT_TIMEOUT_MS ?

What I'm finding is that it automatically rounds up to the nearest second. So it's really only doing full second timeouts. So a ms value of 1001 would actually do timeouts at 2 seconds. I saw that I need to have it built with c-ares and based on the version returned by curl_version, I think I do.

If that's really the case it seems like a bug somewhere. Can you post us a full example that we can try with?

--

 / daniel.haxx.se

Reply via email to