From: Michael Wallner Date: Tue, 26 Feb 2019 17:07:34 +0000 (+0100) Subject: workaround for #84 X-Git-Tag: RELEASE_3_2_1~32 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=301589da4272ff7b2e3de6764f7c6290907a1a6b;hp=a42effa9f5a8365a30997d67010da3c9b0b6822f workaround for #84 --- 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)