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" ) ;