From:             type-v at mail dot ru
Operating system: Windows XP
PHP version:      5.2.0
PHP Bug Type:     cURL related
Bug description:  curl_multi doesn't work with socks5 proxy

Description:
------------
curl_multi_exec() doesn't work with socks5 proxy.
 It was said that it would be fixed in version 7.16.0. But there is only
7.14 available in latest cvs of php5 and php6.

When 7.16 will be available for download ?

Reproduce code:
---------------
$conn[$i]=curl_init("http://www.site.com/";);
curl_setopt($conn[$i],CURLOPT_RETURNTRANSFER,true);
curl_setopt($conn[$i],CURLOPT_HEADER,false);
curl_setopt($conn[$i],CURLOPT_PROXY,$proxy);
curl_setopt($conn[$i],CURLOPT_PROXYTYPE,CURLPROXY_SOCKS5);
curl_setopt($conn[$i],CURLOPT_CONNECTTIMEOUT,10);
curl_setopt($conn[$i],CURLOPT_TIMEOUT,10);
curl_setopt($conn[$i],CURLOPT_NOSIGNAL,true);
curl_setopt($conn[$i],CURLOPT_FOLLOWLOCATION,true);

Expected result:
----------------
All is ok.

Actual result:
--------------
Curl error on handle 0: Send failure: Socket is not connected Curl error
on handle 1: Send failure: Socket is not connected 
And so on.


-- 
Edit bug report at http://bugs.php.net/?id=39503&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39503&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39503&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39503&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39503&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39503&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39503&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39503&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39503&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39503&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39503&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39503&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39503&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39503&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39503&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39503&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39503&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39503&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39503&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39503&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39503&r=mysqlcfg

Reply via email to