diff --git a/lib/lib_ssl/tls_mini/src/WiFiClientSecureLightBearSSL.cpp b/lib/lib_ssl/tls_mini/src/WiFiClientSecureLightBearSSL.cpp index 5f8bd999a..720ca2580 100755 --- a/lib/lib_ssl/tls_mini/src/WiFiClientSecureLightBearSSL.cpp +++ b/lib/lib_ssl/tls_mini/src/WiFiClientSecureLightBearSSL.cpp @@ -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