HTTPClientWrapper: Initialize buffer variables. D'Oh.

This commit is contained in:
Fabian Schlenz 2019-11-29 21:23:01 +01:00
parent 38d48ab0e4
commit a8d19cd6e1

View File

@ -73,6 +73,9 @@ bool HTTPClientWrapper::_request(String method, String url, uint32_t offset, uin
return false;
}
_buffer_position = 0;
_buffer_length = 0;
_connected = true;
_length = _http->getSize() + offset;
if (_http->hasHeader("Content-Type")) {