Clear buffers before making a request.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tastytea 2020-01-09 13:13:49 +01:00
parent bf82525c5e
commit bb6b00114e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -84,6 +84,8 @@ answer_type CURLWrapper::make_request(const http_method &method, string uri,
const parametermap &parameters)
{
_stream_cancelled = false;
_curl_buffer_headers.clear();
_curl_buffer_body.clear();
CURLcode code;
switch (method)