Skip to content

Conversation

@dsrees
Copy link
Owner

@dsrees dsrees commented May 14, 2019

The WebSocketTransport always errored whenever connectivity was lost, never properly closing the Socket, thus never kicking off the reconnect behavior. OkHttp throws EOFException if the server closes unexpectedly and a SocketException if the client loses connectivity. In both of these cases, make sure onClose is called to attempt to reconnect.

@dsrees dsrees merged commit 3179fae into master May 14, 2019
@dsrees dsrees deleted the dr/fix-reconnect-issues branch May 14, 2019 18:09
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