php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #65469 Define CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME constants
Submitted: 2013-08-17 23:15 UTC Modified: 2015-04-15 12:47 UTC
Votes:7
Avg. Score:3.1 ± 1.4
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:2 (40.0%)
From: dr dot scre at yandex dot com Assigned: jpauli
Status: Closed Package: cURL related
PHP Version: 5.5.2 OS:
Private report: No CVE-ID:
 [2013-08-17 23:15 UTC] dr dot scre at yandex dot com
Description:
------------
In libcurl 7.18.0 a couple of new proxy types were added:

CURLPROXY_SOCKS4A (== 6)
CURLPROXY_SOCKS5_HOSTNAME (== 7)

I think they should be defined in PHP as well.


Patches

new_curlproxy_constants (last revision 2013-08-17 23:21 UTC) by dr dot scre at yandex dot com)

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-07 14:28 UTC] rhys dot ulerich at gmail dot com
Please do.  Apparently this has cost at least one man his livelihood: http://stackoverflow.com/questions/15445285/how-can-i-connect-to-a-tor-hidden-service-using-curl-in-php
 [2015-04-15 12:47 UTC] jpauli@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jpauli
 [2015-04-15 12:47 UTC] jpauli@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Added to 5.5.23 and 5.6.7
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Apr 25 14:01:39 2017 UTC