Skip to content

Conversation

Tossrock
Copy link

Connections are automatically dropped after a timeout due to this bug in C#'s handling of websocket traffic. This should fix Issue 92.

Also actually invokes DispatchMessageQueue when receiving a message, so that OnMessage handlers actually get called. Seems that there was code commented out on L672 - L676 in WebSocket.cs without the correct replacement being added. This causes OnMessage events to behave as expected.

Fix keepalive interval, actually invoke the OnReceive code for messages.
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.

Client connection closes automatically after a while
1 participant