Doc #69950 [Asn->Csd]: Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt
| From: | cmb@php.net | Date: | Sat, 27 Jun 2015 11:40:55 +0000 |
| Subject: | Doc #69950 [Asn->Csd]: Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12478@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69950&edit=1
ID: 69950
Updated by: cmb@php.net
Reported by: eicar at hong dot eicar dot eu
Summary: Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt
-Status: Assigned
+Status: Closed
Type: Documentation Problem
-Package: Documentation problem
+Package: cURL related
Operating System: Any
PHP Version: 5.6.10
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2015-06-27 11:39:16] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=337060
Log: improved documentation of CURLOPT_PROXYTYPE (fixes #69950)
------------------------------------------------------------------------
[2015-06-27 08:17:28] eicar at hong dot eicar dot eu
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 this bug report at https://bugs.php.net/bug.php?id=69950&edit=1