projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
26de4e2
)
don't enable curls cookie engine by default & accident
author
Michael Wallner
<mike@php.net>
Tue, 29 Dec 2009 12:19:49 +0000
(12:19 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 29 Dec 2009 12:19:49 +0000
(12:19 +0000)
http_request_api.c
patch
|
blob
|
history
diff --git
a/http_request_api.c
b/http_request_api.c
index 2a5f68e7ab1c5e564ba4d0200b38972aa4167ccd..d2440b73e555bfb236919b403210358e13ed442f 100644
(file)
--- a/
http_request_api.c
+++ b/
http_request_api.c
@@
-531,8
+531,9
@@
PHP_HTTP_API void _http_request_defaults(http_request *request)
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