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:
parent
b71872ccca
commit
bbfe2c2035
@ -551,7 +551,6 @@ bool HTTPClient::setURL(const String& url)
|
||||
}
|
||||
// disconnect but preserve _client
|
||||
disconnect(true);
|
||||
clear();
|
||||
return beginInternal(url, nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user