Unverified Commit 90f869e7 authored by Frank's avatar Frank Committed by GitHub

Fix BUG: Parsing of first line fails (#4484)

..because a firstLine = false; is missing ;)
parent be4d3b6c
......@@ -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');
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment