Skip to content

Fix Websocket reconnection stuck after network disruption - #59

Merged
aonemd merged 2 commits into
mainfrom
fix-reconnect
Dec 5, 2025
Merged

Fix Websocket reconnection stuck after network disruption#59
aonemd merged 2 commits into
mainfrom
fix-reconnect

Conversation

@aonemd

@aonemd aonemd commented Dec 4, 2025

Copy link
Copy Markdown
Member
  • Add isListening flag to track and restart the message listening loop
  • Tear down dead/stuck connections in connect() and create fresh ones
  • Call listen() when connection becomes ready to restart message receiving

- Add isListening flag to track and restart the message listening loop
- Tear down dead/stuck connections in connect() and create fresh ones
- Call listen() when connection becomes ready to restart message receiving
@aonemd aonemd changed the title Fix WebSocket reconnection after network disruption Fix Websocket reconnection stuck after network disruption Dec 5, 2025
@aonemd
aonemd merged commit 23b4f7f into main Dec 5, 2025
4 checks passed
@aonemd
aonemd deleted the fix-reconnect branch December 5, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant