Skip to content

Commit

Permalink
limit the workaround for #84 to libcurl 7.63-7.64
Browse files Browse the repository at this point in the history
fix #89
  • Loading branch information
m6w6 committed Jan 13, 2021
1 parent bc04be5 commit 7c368b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/php_http_client_curl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
#if PHP_HTTP_CURL_VERSION(7,63,0) && !PHP_HTTP_CURL_VERSION(7,65,0)
curl_easy_setopt(handler->handle, CURLOPT_COOKIEJAR, NULL);
#endif
}

static void php_http_client_curl_handler_dtor(php_http_client_curl_handler_t *handler)
Expand Down

0 comments on commit 7c368b4

Please sign in to comment.