1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +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:
Earle F. Philhower, III
2018-11-28 16:12:01 -08:00
committed by GitHub
parent dc5e352676
commit e7d3cf62b6

View File

@ -189,7 +189,6 @@ bool WiFiClientSecure::stop(unsigned int maxWaitMs) {
if (_session) {
br_ssl_engine_get_session_parameters(_eng, _session->getSession());
}
_clearAuthenticationSettings();
}
_freeSSL();
return ret;