HTTPClientWrapper: Initialize buffer variables. D'Oh.
This commit is contained in:
parent
38d48ab0e4
commit
a8d19cd6e1
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user