mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
Don't clear authentication options on a ::stop (#5386)
Many objects now expect a WiFiClient* object to be passed to them and potentially re-used multiple times (HTTPClient, others). Clearing the authentication options on a ::stop means they can never reconnect. Remove the option clearing in ::stop Fixes #5379
This commit is contained in:
parent
dc5e352676
commit
e7d3cf62b6
@ -189,7 +189,6 @@ bool WiFiClientSecure::stop(unsigned int maxWaitMs) {
|
|||||||
if (_session) {
|
if (_session) {
|
||||||
br_ssl_engine_get_session_parameters(_eng, _session->getSession());
|
br_ssl_engine_get_session_parameters(_eng, _session->getSession());
|
||||||
}
|
}
|
||||||
_clearAuthenticationSettings();
|
|
||||||
}
|
}
|
||||||
_freeSSL();
|
_freeSSL();
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user