Re: Problems with curl timeout setting
Daniel Stenberg <[email protected]>
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 23 Jan 2011, [email protected] wrote: > I am using curl in php 5.3.3 on RHEL5.4 with the following settings So which libcurl version is that? > curl_setopt($conn[$i],CURLOPT_CONNECTTIMEOUT_MS,300); > curl_setopt($conn[$i],CURLOPT_TIMEOUT_MS,2000); > > Even though the timeout setting is 2000ms I am receiving the following > message:: > > Operation timed out after 2928 milliseconds with 0 bytes received > > any help on this would be appreciated, we are fighting with this for months, > literally :) I belive you're experiencing a bug in libcurl. I also believe this bug is fixed in current libcurl versions. -- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php