diff --git a/src/curl_wrapper.cpp b/src/curl_wrapper.cpp index 930e840..f675cca 100644 --- a/src/curl_wrapper.cpp +++ b/src/curl_wrapper.cpp @@ -84,6 +84,8 @@ answer_type CURLWrapper::make_request(const http_method &method, string uri, const parametermap ¶meters) { _stream_cancelled = false; + _curl_buffer_headers.clear(); + _curl_buffer_body.clear(); CURLcode code; switch (method)