cURL / Mailing Lists / curl-library / Single Mail

curl-library

enabling curl easy milliseconds time out options

From: Jovial Shah <jovialshah_at_gmail.com>
Date: Tue, 28 Oct 2008 15:42:44 -0700

With reference to this thread, http://curl.haxx.se/mail/lib-2008-09/0320.html

My client application is using libCurl-7.18-1 and I see response times
of 10-20 msec.
However, when I set the CURLOPT_TIMEOUT_MS to 999 ms, I get a timeout.
Whereas if I set it as CURLOPT_TIMEOUT_MS as 1000 msec, I get back a
response.

After reading the previous thread, it appears that I need to build
libCurl with C-Ares enabled.

How does one build libCurl with C-Ares enabled ? Are there any other
alternatives ?

Thanks,

-- 
- Jovial
Received on 2008-10-28