mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.6'
* PHP-5.6: Updated NEWS updated NEWS curl: add new proxy constants
This commit is contained in:
commit
09c43bd398
1 changed files with 5 additions and 0 deletions
|
@ -844,6 +844,11 @@ PHP_MINIT_FUNCTION(curl)
|
|||
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4);
|
||||
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
|
||||
|
||||
#if LIBCURL_VERSION_NUM >= 0x071200 /* Available since 7.18.0 */
|
||||
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4A);
|
||||
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5_HOSTNAME);
|
||||
#endif
|
||||
|
||||
/* Curl Share constants */
|
||||
REGISTER_CURL_CONSTANT(CURLSHOPT_NONE);
|
||||
REGISTER_CURL_CONSTANT(CURLSHOPT_SHARE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue