curl-and-php
Re: Problems with curl timeout setting
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 23 Jan 2011 23:26:07 +0100 (CET)
Date: Sun, 23 Jan 2011 23:26:07 +0100 (CET)
On Sun, 23 Jan 2011, 127546_at_sms13.de 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-phpReceived on 2011-01-23