cvs: php-src /ext/curl interface.c
| From: | Sara Golemon | Date: | Mon, 20 Aug 2007 18:56:05 +0000 |
| Subject: | cvs: php-src /ext/curl interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-45939@lists.php.net to get a copy of this message | ||
pollita Mon Aug 20 18:56:05 2007 UTC
Modified files:
/php-src/ext/curl interface.c
Log:
Add support for CURLPROXY_SOCKS4
http://cvs.php.net/viewvc.cgi/php-src/ext/curl/interface.c?r1=1.114&r2=1.115&diff_format=u
Index: php-src/ext/curl/interface.c
diff -u php-src/ext/curl/interface.c:1.114 php-src/ext/curl/interface.c:1.115
--- php-src/ext/curl/interface.c:1.114 Wed Jul 4 13:33:01 2007
+++ php-src/ext/curl/interface.c Mon Aug 20 18:56:05 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interface.c,v 1.114 2007/07/04 13:33:01 tony2001 Exp $ */
+/* $Id: interface.c,v 1.115 2007/08/20 18:56:05 pollita Exp $ */
#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
@@ -594,6 +594,9 @@
#endif
REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
+#ifdef CURLPROXY_SOCKS4
+ REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4);
+#endif
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
REGISTER_CURL_CONSTANT(CURL_NETRC_OPTIONAL);