Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Make XMPP connection handling more resilient #264

Merged
merged 3 commits into from
Jul 29, 2021

Conversation

tadzik
Copy link
Contributor

@tadzik tadzik commented Jul 28, 2021

Fixes #236 (hopefully).

@tadzik tadzik requested a review from a team July 28, 2021 14:33
@tadzik tadzik self-assigned this Jul 28, 2021
Copy link
Collaborator

@Half-Shot Half-Shot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it. Thanks!

We weren't always doing it right which led to lost messages in some edge
cases. It's best we don't do that at all.
…ason

This should only happen due to an underlying socket error, which xmpp.js
handles on its own with a reconnect – this ensures that the messages we
were attempting to send there are not getting lost.

Hopefully fixes GH-236.
@tadzik tadzik force-pushed the tadzik/gh-236/reinforce-xmpp-connection-handling branch from 43d8f52 to 91376a9 Compare July 29, 2021 13:40
@tadzik tadzik merged commit 87bb575 into develop Jul 29, 2021
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.

Error: This socket has been ended by the other party
2 participants