ID: 40997
Updated by: [EMAIL PROTECTED]
Reported By: kolypto at mail dot ru
-Status: Open
+Status: Bogus
Bug Type: *Network Functions
Operating System: WIndows XP SP2
PHP Version: 5.2.1
New Comment:
Not PHP problem.
Please report it to cURL developers.
Previous Comments:
------------------------------------------------------------------------
[2007-04-04 18:51:59] kolypto at mail dot ru
Description:
------------
I've passed a CURLOPT twice, and the script has hanged
Reproduce code:
---------------
$ch=curl_init('http://myip.ru/');
curl_setopt($ch, CURLOPT_TIMEOUT,3);
curl_setopt($ch, CURLOPT_NOBODY,1);
curl_setopt($ch, CURLOPT_NOBODY,0);
curl_exec($ch);
Expected result:
----------------
the page contents
Actual result:
--------------
it hangs the script for 3 seconds, the cURL says "timeout"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40997&edit=1