From d1967b6d4c7ee488da00cdb72767db4cf80b9b37 Mon Sep 17 00:00:00 2001 From: ygrek Date: Sun, 7 May 2017 15:38:29 -0700 Subject: [PATCH] restore CURLOPT_PRIVATE on Curl.reset (ref #21) --- curl-helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/curl-helper.c b/curl-helper.c index 627374e..06a3965 100644 --- a/curl-helper.c +++ b/curl-helper.c @@ -1257,6 +1257,7 @@ CAMLprim value helper_curl_easy_reset(value conn) checkConnection(connection); curl_easy_reset(connection->handle); + curl_easy_setopt(connection->handle, CURLOPT_PRIVATE, connection); resetOcamlValues(connection); CAMLreturn(Val_unit); -- 2.11.4.GIT