X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_curl.c;h=389464bad77f4fc77c17016892c6bd8848740f6b;hp=45515fa2686316497d184982fe76d95521eca955;hb=e2b947ae9fa3b56f94855c5c111ccc9fb595d460;hpb=594dfcf5689232682c9705f364ad7be2853b3a9e diff --git a/src/php_http_client_curl.c b/src/php_http_client_curl.c index 45515fa..389464b 100644 --- a/src/php_http_client_curl.c +++ b/src/php_http_client_curl.c @@ -2075,7 +2075,9 @@ static void php_http_client_curl_handler_clear(php_http_client_curl_handler_t *h 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); + //if (php_http_curle_get_storage(handler->handle)->cookiestore) { + //curl_easy_setopt(handler->handle, CURLOPT_COOKIEJAR, NULL); + //} } static void php_http_client_curl_handler_dtor(php_http_client_curl_handler_t *handler)