esp-protocols icon indicating copy to clipboard operation
esp-protocols copied to clipboard

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

Open bigtreetech opened this issue 7 months ago • 1 comments

bug 复现步骤

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

bigtreetech avatar Jul 10 '25 09:07 bigtreetech

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.


bigtreetech seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jul 10 '25 09:07 CLAassistant