1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

remove clear() before beginInternal() so _location is not cleared before its passed to beginInternal() (#6786)

This commit is contained in:
liebman 2019-11-18 11:41:24 -08:00 committed by Develo
parent b71872ccca
commit bbfe2c2035

View File

@ -551,7 +551,6 @@ bool HTTPClient::setURL(const String& url)
}
// disconnect but preserve _client
disconnect(true);
clear();
return beginInternal(url, nullptr);
}