Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix reconnect on close before transport open #281

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

FZambia
Copy link
Member

@FZambia FZambia commented Apr 9, 2024

This sometimes happened when offline event was triggered. In this case there was a warning in browser console:

WebSocket is closed before the connection is established 

And no reconnect after that. Reproduced, added test case and fixed.

@FZambia FZambia merged commit f7f0391 into master Apr 9, 2024
3 checks passed
@FZambia FZambia deleted the fix_reconnect_when_close_before_transport_open branch April 9, 2024 15:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant