X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;h=45515fa2686316497d184982fe76d95521eca955;hp=1c84e3dde7940d50d62ea544d3016ad66b1129e9;hb=8f8c6de6ae23ee114c9fac41d82ae866c1747132;hpb=e61393c76eb220de660f2b95111f9bf9e072fe1d diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index 1c84e3d..45515fa 100644 --- 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)