Skip to content

fix Stuck when ‘disable_auto_reconnect = false’ and Call 'esp_websocket_client_close' when the connection fails and automatically reconnects (IDFGH-15854)#841

Open
bigtreetech wants to merge 1 commit intoespressif:masterfrom
bigtreetech:master
Open

Conversation

@bigtreetech
Copy link
Copy Markdown

bug 复现步骤

  1. 配置 disable_auto_reconnect = false 开启自动重连功能
  2. 建立一个无法连接的client,此时后台任务会在后台重连,并且此时 client->run is true
  3. 调用 esp_websocket_client_close 关闭此 clent 会堵塞在此函数中。

…et_client_close' when the connection fails and automatically reconnects
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jul 10, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions github-actions Bot changed the title fix Stuck when ‘disable_auto_reconnect = false’ and Call 'esp_websocket_client_close' when the connection fails and automatically reconnects fix Stuck when ‘disable_auto_reconnect = false’ and Call 'esp_websocket_client_close' when the connection fails and automatically reconnects (IDFGH-15854) Jul 10, 2025
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Opened Issue is new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants