Merge branch 'master' into idf-release/v4.2
This commit is contained in:
commit
a4aaec6a23
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue