mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-15 14:59:34 +01:00
a453ca1f38fb906c00ec2cb3c2119578a149f37e
When WiFi disconnects, `esp_websocket_client_task` continues polling `esp_transport_poll_read()` with a default 1-second timeout. If a timeout triggers `esp_websocket_client_abort_connection`, certain resources are released. However, if `esp_websocket_client_send_with_exact_opcode` is still blocked at this point, it will cause a crash when it times out and accesses the released handle. This fix prevents potential crashes by ensuring proper synchronization between abort and send functions. Merges: https://github.com/espressif/esp-protocols/pull/629
Collection of protocol components for ESP-IDF
How to use
The ESP-Protocols repository contains a collection of protocol components for ESP-IDF. Additionally, each component is available in IDF Component Registry. Please refer to instructions in ESP-IDF
Components
esp_modem
- Brief introduction README
- Full html documentation
mDNS
- Brief introduction README
- Full html documentation(English)
- Full html documentation(Chinese)
esp_websocket_client
- Brief introduction README
- Full html documentation
ASIO port
- Brief introduction README
- Full html documentation
esp_mqtt_cxx
- Brief introduction README
- Full html documentation
console_simple_init
- Brief introduction README
console_cmd_ping
- Brief introduction README
console_cmd_ifconfig
- Brief introduction README
console_cmd_wifi
- Brief introduction README
ESP PPP Link (eppp)
- Brief introduction README
mbedtls_cxx
- Brief introduction README
mosquitto
Languages
C
56.5%
C++
35.6%
Python
4.4%
CMake
2.3%
Shell
0.7%
Other
0.5%