From cb71d88fdded0f02dc6c64a46d796168b6addc98 Mon Sep 17 00:00:00 2001 From: Hyunjun Kim Date: Thu, 12 Oct 2023 02:05:30 +0900 Subject: [PATCH] Add curl reset --- src/binacpp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/binacpp.cpp b/src/binacpp.cpp index df06808..ebef615 100644 --- a/src/binacpp.cpp +++ b/src/binacpp.cpp @@ -1857,6 +1857,7 @@ BinaCPP::curl_api_with_header( string &url, string &str_result, vector BinaCPP_logger::write_log( " curl_easy_perform() failed: %s" , curl_easy_strerror(res) ) ; } + curl_easy_reset(BinaCPP::curl); } BinaCPP_logger::write_log( " done" ) ;