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

Fix webSocket onClosing #95

Closed
wants to merge 2 commits into from

Conversation

andrews-moc
Copy link
Contributor

@andrews-moc andrews-moc commented Aug 2, 2023

This issue has a very serious impact on our project because after the screen is off for 30+ seconds, websocket stops receiving messages even after reconnecting.

This is the same as Fix webSocket not closed in onClosing but with unit test updated.

Inside Android's Okhttp onClosing callback, we need to manually close the websocket, in order to trigger a reconnect. square/okhttp#3386

@dsrees Would you be able to accept and release this extremely important fix as soon as possible?

Thank you!

ostap0207 and others added 2 commits August 2, 2023 16:49
Pull commits from parent repository
This is the same as dsrees#90 but with unit test update
@andrews-moc andrews-moc closed this Aug 2, 2023
@andrews-moc andrews-moc deleted the fix/close_websocket branch August 2, 2023 15:16
@andrews-moc
Copy link
Contributor Author

Closed in favour of this PR without an extra merge commit.

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.

2 participants