mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-16 23:39:47 +01:00
This commit fixes an issue that occurred when auto-reconnection is enabled, and the client is disconnected from the server. In this situation, if the esp_websocket_client_stop() method is called, the caller could remain stuck waiting for a maximum time equal to half of wait_timeout_ms. This fix allows the esp_websocket_client_task to be woken up when it is waiting to reconnect, so it can be closed promptly when requested.
60 KiB
60 KiB