curl-library
Problem using curl easy Milli Seconds time out options ...
Date: Tue, 30 Sep 2008 21:56:45 +0530
Hi ,
I am using curl easy interface in my application, was trying to set
CURLOPT_CONNECTTIMEOUT_MS and CURLOPT_TIMEOUT_MS options using
curl_easy_setopt .
curl_easy_setopt(curl_handle,
CURLOPT_CONNECTTIMEOUT_MS, 20);
curl_easy_setopt(curl_handle,
CURLOPT_TIMEOUT_MS, 30);
However the curl easy interface is not timing out in milli seconds unit but
the same is working fine with timouts in second options ie ..
CURLOPT_CONNECTTIMEOUT and CURLOPT_TIMEOUT.
curl_easy_setopt(curl_handle,
CURLOPT_CONNECTTIMEOUT, 1);
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT,
1);
What could be the reason that millisecond time out options are not working,
is there any way to fix this issue.
The curl_easy_setopt man page says that the MS options were added in version
7.16.2 and am using curl 7.17.0.
Is there any way to built libcurl to support MS Timeout options.
Please help me out.
Regards
Mukul
Received on 2008-09-30