php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69950 Add "CURLPROXY_SOCKS5_HOSTNAME" to curl-setopt
Submitted: 2015-06-27 08:17 UTC Modified: 2015-06-27 11:40 UTC
From: eicar at hong dot eicar dot eu Assigned: cmb (profile)
Status: Closed Package: cURL related
PHP Version: 5.6.10 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 - 17 = ?
Subscribe to this entry?

 
 [2015-06-27 08:17 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-27 10:11 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2015-06-27 11:39 UTC] 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 11:40 UTC] cmb@php.net
-Status: Assigned +Status: Closed -Package: Documentation problem +Package: cURL related
 [2015-06-27 11:40 UTC] cmb@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 21:01:30 2024 UTC