From 301589da4272ff7b2e3de6764f7c6290907a1a6b Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 26 Feb 2019 18:07:34 +0100 Subject: [PATCH] workaround for #84 --- src/php_http_client_curl.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2