Clear buffers before making a request.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bf82525c5e
commit
bb6b00114e
|
@ -84,6 +84,8 @@ answer_type CURLWrapper::make_request(const http_method &method, string uri,
|
||||||
const parametermap ¶meters)
|
const parametermap ¶meters)
|
||||||
{
|
{
|
||||||
_stream_cancelled = false;
|
_stream_cancelled = false;
|
||||||
|
_curl_buffer_headers.clear();
|
||||||
|
_curl_buffer_body.clear();
|
||||||
|
|
||||||
CURLcode code;
|
CURLcode code;
|
||||||
switch (method)
|
switch (method)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user