ID:               39229
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ludiqely at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         cURL related
 Operating System: linux
 PHP Version:      5.1.6
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Any hangs in curl_exec() are a direct result of "hangs" inside 
the libcurl code and as such are not a PHP bug.


Previous Comments:
------------------------------------------------------------------------

[2006-10-22 19:03:30] ludiqely at gmail dot com

Description:
------------
I've used exactly socks connections.
This code create this problem:

php hang on this line with curl_exec function

Reproduce code:
---------------
$hCurl = curl_init();
curl_setopt ($hCurl, CURLOPT_URL, "http://google.com";);
curl_setopt ($hCurl, CURLOPT_HEADER, 0);
curl_setopt ($hCurl, CURLOPT_PROXY, "66.210.89.130:1080");
curl_setopt ($hCurl, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
curl_setopt ($hCurl, CURLOPT_TIMEOUT, 7);
curl_setopt ($hCurl, CURLOPT_CONNECTTIMEOUT, 7);
curl_setopt ($hCurl, CURLE_OPERATION_TIMEOUTED, 7);
curl_setopt ($hCurl, CURLOPT_DNS_CACHE_TIMEOUT, 7);
curl_setopt ($hCurl, CURLOPT_RETURNTRANSFER, 1);
print 'before curl_exec';
$out = curl_exec ($hCurl);
print $out;

Expected result:
----------------
Expected exit from the function under the specified timeout.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39229&edit=1

Reply via email to