mirror of https://github.com/arendst/Tasmota.git
Fix ESP32 TLS reconnects
This commit is contained in:
parent
1b5406fdd9
commit
c21f6d455d
|
@ -284,7 +284,7 @@ void WiFiClientSecure_light::stop(void) {
|
||||||
|
|
||||||
void WiFiClientSecure_light::flush(void) {
|
void WiFiClientSecure_light::flush(void) {
|
||||||
(void) _run_until(BR_SSL_SENDAPP);
|
(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
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue