Fix BUG: Parsing of first line fails (#4484)
..because a firstLine = false; is missing ;)
This commit is contained in:
parent
be4d3b6cb8
commit
90f869e772
@ -1199,6 +1199,7 @@ int HTTPClient::handleHeaderResponse()
|
||||
log_v("RX: '%s'", headerLine.c_str());
|
||||
|
||||
if(firstLine) {
|
||||
firstLine = false;
|
||||
if(_canReuse && headerLine.startsWith("HTTP/1.")) {
|
||||
_canReuse = (headerLine[sizeof "HTTP/1." - 1] != '0');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user