Fix ESP32 TLS reconnects

This commit is contained in:
Stephan Hadinger 2021-09-01 19:42:57 +02:00
parent 1b5406fdd9
commit c21f6d455d
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ void WiFiClientSecure_light::stop(void) {
void WiFiClientSecure_light::flush(void) {
(void) _run_until(BR_SSL_SENDAPP);
WiFiClient::flush();
// don't call flush on ESP32 - its behavior is different and empties the receive buffer - which we don't want
}
#endif