#if HTTP_CURL_VERSION(7,19,1)
HTTP_CURL_OPT(CURLOPT_PROXYUSERNAME, NULL);
HTTP_CURL_OPT(CURLOPT_PROXYPASSWORD, NULL);
+#else
+ HTTP_CURL_OPT(CURLOPT_PROXYUSERPWD, NULL);
#endif
HTTP_CURL_OPT(CURLOPT_PROXYAUTH, 0L);
HTTP_CURL_OPT(CURLOPT_DNS_CACHE_TIMEOUT, 60L);
#if HTTP_CURL_VERSION(7,19,1)
HTTP_CURL_OPT(CURLOPT_USERNAME, NULL);
HTTP_CURL_OPT(CURLOPT_PASSWORD, NULL);
+#else
+ HTTP_CURL_OPT(CURLOPT_USERPWD, NULL);
#endif
HTTP_CURL_OPT(CURLOPT_HTTPAUTH, 0L);
HTTP_CURL_OPT(CURLOPT_ENCODING, NULL);
HTTP_CURL_OPT(CURLOPT_HTTPHEADER, NULL);
HTTP_CURL_OPT(CURLOPT_COOKIE, NULL);
HTTP_CURL_OPT(CURLOPT_COOKIESESSION, 0L);
+ /* these options would enable curl's cookie engine by default which we don't want
HTTP_CURL_OPT(CURLOPT_COOKIEFILE, NULL);
- HTTP_CURL_OPT(CURLOPT_COOKIEJAR, NULL);
+ HTTP_CURL_OPT(CURLOPT_COOKIEJAR, NULL); */
#if HTTP_CURL_VERSION(7,14,1)
HTTP_CURL_OPT(CURLOPT_COOKIELIST, NULL);
#endif
<email>mike@php.net</email>
<active>yes</active>
</lead>
- <date>2009-08-13</date>
+ <date>2009-12-10</date>
<version>
<release>1.6.6</release>
<api>1.6.0</api>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
+* Fixed a Last-Modified caching bug in http_send API
+* Fixed bug with HttpRequestPool and libevent when adding requests while running
+* Fixed memory leak in HttpResponse::getStream() (Felipe Pena)
+* Fixed bug #14382 (PHP crash after casting scalar argument to an array in HttpQueryString)
* Fixed bug #16533 (http_redirect fails with url->port==0)
-* Fixed bug #16817 (Proxy-Auth. and WWW-Auth. credentials mixed after connection reuse)
]]></notes>
<contents>
<dir name="/">