Skip to content

Commit bbfe2c2

Browse files
liebmandevyte
authored andcommitted
remove clear() before beginInternal() so _location is not cleared before its passed to beginInternal() (#6786)
1 parent b71872c commit bbfe2c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ bool HTTPClient::setURL(const String& url)
551551
}
552552
// disconnect but preserve _client
553553
disconnect(true);
554-
clear();
555554
return beginInternal(url, nullptr);
556555
}
557556

0 commit comments

Comments
 (0)