Ilia Alshanetsky wrote:

iliaa           Wed Aug 18 17:27:25 2004 EDT

Modified files: /php-src/ext/curl interface.c Log:
Fixed bug #29727 (Added missing CURL authentication directives).

[snip]

+
+#if LIBCURL_VERSION_NUM > 0x070a06 /* CURLOPT_PROXYAUTH is available since curl 
7.10.7 */
+       REGISTER_CURL_CONSTANT(CURLOPT_PROXYAUTH);
+#endif
+

Can you also add the constants in the following patch, please?

Dave
Index: interface.c
===================================================================
RCS file: /repository/php-src/ext/curl/interface.c,v
retrieving revision 1.47
diff -u -r1.47 interface.c
--- interface.c 18 Aug 2004 21:27:24 -0000      1.47
+++ interface.c 19 Aug 2004 11:34:42 -0000
@@ -358,6 +358,12 @@
        REGISTER_CURL_CONSTANT(CURL_HTTP_VERSION_1_0);
        REGISTER_CURL_CONSTANT(CURL_HTTP_VERSION_1_1);
        
+#if LIBCURL_VERSION_NUM > 0x070907 /* CURL_TIMECOND_ is available since curl 7.9.7 */
+       REGISTER_CURL_CONSTANT(CURL_TIMECOND_IFMODSINCE);
+       REGISTER_CURL_CONSTANT(CURL_TIMECOND_IFUNMODSINCE);
+       REGISTER_CURL_CONSTANT(CURL_TIMECOND_LASTMOD);
+#endif
+
        REGISTER_CURL_CONSTANT(CURLM_CALL_MULTI_PERFORM);
        REGISTER_CURL_CONSTANT(CURLM_OK);
        REGISTER_CURL_CONSTANT(CURLM_BAD_HANDLE);

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to