You've already forked ArduinoHttpClient
mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-07-03 16:42:31 +03:00
Also set iBodyLengthConsumed to zero when parsing
This commit is contained in:
@ -686,6 +686,7 @@ int HttpClient::readHeader()
|
||||
// Just in case we get multiple Content-Length headers, this
|
||||
// will ensure we just get the value of the last one
|
||||
iContentLength = 0;
|
||||
iBodyLengthConsumed = 0;
|
||||
}
|
||||
}
|
||||
else if ((iContentLengthPtr == kContentLengthPrefix) && (c == '\r'))
|
||||
|
Reference in New Issue
Block a user