curl-and-php
Re: CURL CURLOPT_TIMEOUT
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Apr 2007 21:45:41 +0200 (CEST)
Date: Wed, 25 Apr 2007 21:45:41 +0200 (CEST)
On Wed, 25 Apr 2007, Petreanu Sebastian wrote:
> What is the importance of the CURLOPT_TIMEOUT option?
The underlying libcurl option is documented here:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUT
> I use it into my PHP script but it doesn't have any influence.
Then something is severly wrong.
> Sometimes the script blocks on curl_exec function and remain in that state.
> What should I do?
That sounds like a bug. Do you run the latest PHP, PHP/CURL and libcurl?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-04-25