Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Resend on reconnect #48

Merged
merged 3 commits into from
Jul 15, 2019
Merged

Resend on reconnect #48

merged 3 commits into from
Jul 15, 2019

Conversation

denis-sokolov
Copy link
Owner

This was a cause of one of our bugs. Our sockets are stateful, but when reconnecting-websocket reconnects, it loses that state: from the point of view of the server it’s a new socket. This tries to maintain a list of messages that encode the current state of the socket and resends them on every reconnect.

@denis-sokolov denis-sokolov merged commit e7ccde1 into master Jul 15, 2019
@delete-merged-branch delete-merged-branch bot deleted the resend-on-reconnect branch July 15, 2019 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants