Skip to content

Commit e7d3cf6

Browse files
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
1 parent dc5e352 commit e7d3cf6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/ESP8266WiFi/src/WiFiClientSecureBearSSL.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ bool WiFiClientSecure::stop(unsigned int maxWaitMs) {
189189
if (_session) {
190190
br_ssl_engine_get_session_parameters(_eng, _session->getSession());
191191
}
192-
_clearAuthenticationSettings();
193192
}
194193
_freeSSL();
195194
return ret;

0 commit comments

Comments
 (0)