Doc #69950 [NEW]: Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt
| From: | eicar at hong dot eicar dot eu | Date: | Sat, 27 Jun 2015 08:17:29 +0000 |
| Subject: | Doc #69950 [NEW]: Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-12477@lists.php.net to get a copy of this message | ||
From: eicar at hong dot eicar dot eu
Operating system: Any
PHP version: 5.6.10
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt
Description:
------------
https://github.com/php/php-src/pull/696
https://github.com/LinusU/php-src/commit/4f6f6fa2148a15d6c7f15170dff061626d989fa7
CURLPROXY_SOCKS5_HOSTNAME should be added to
https://secure.php.net/manual/en/function.curl-setopt.php
> CURLOPT_PROXYTYPE Either CURLPROXY_HTTP (default) or
CURLPROXY_SOCKS5.
(Related to https://bugs.php.net/bug.php?id=65469)
Test script:
---------------
Set "CURLPROXY_SOCKS5_HOSTNAME" to CURLOPT_PROXYTYPE.
Expected result:
----------------
CURLPROXY_SOCKS5_HOSTNAME work fine with no problem.
DNS query was sent to SOCKS proxy, and not resolved in local network.
Actual result:
--------------
Since "CURLPROXY_SOCKS5_HOSTNAME" is not present on document, some users
will at a loss.
Please update document.
--
Edit bug report at https://bugs.php.net/bug.php?id=69950&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69950&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69950&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69950&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69950&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69950&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69950&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69950&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69950&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69950&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69950&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69950&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69950&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69950&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69950&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69950&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69950&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69950&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69950&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69950&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69950&r=mysqlcfg