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:
a42effa
)
workaround for #84
author
Michael Wallner
<mike@php.net>
Tue, 26 Feb 2019 17:07:34 +0000
(18:07 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 26 Feb 2019 17:08:56 +0000
(18:08 +0100)
src/php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/src/php_http_client_curl.c
b/src/php_http_client_curl.c
index 1c84e3dde7940d50d62ea544d3016ad66b1129e9..45515fa2686316497d184982fe76d95521eca955 100644
(file)
--- a/
src/php_http_client_curl.c
+++ b/
src/php_http_client_curl.c
@@
-2074,6
+2074,8
@@
static void php_http_client_curl_handler_clear(php_http_client_curl_handler_t *h
curl_easy_setopt(handler->handle, CURLOPT_DEBUGFUNCTION, NULL);
curl_easy_setopt(handler->handle, CURLOPT_COOKIELIST, "FLUSH");
curl_easy_setopt(handler->handle, CURLOPT_SHARE, NULL);
+ /* see gh issue #84 */
+ curl_easy_setopt(handler->handle, CURLOPT_COOKIEJAR, NULL);
}
static void php_http_client_curl_handler_dtor(php_http_client_curl_handler_t *handler)