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

Update starscream to 4.0.8; #135

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update starscream to 4.0.8; #135

wants to merge 2 commits into from

Conversation

LeffelMania
Copy link
Member

No description provided.

@@ -324,6 +324,8 @@ extension WebSocketClient: WebSocketDelegate {
_ = self.reconnect()
case .ping, .pong: // We just ignore these for now.
break
case .peerClosed:
break
Copy link
Member

Choose a reason for hiding this comment

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

I think we have to try a reconnect here too. this indicates that the server closed the connection, but really the client should just retry indefinitely (with backoff) when the connection ever fails for any reason

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