NativeWebSocket icon indicating copy to clipboard operation
NativeWebSocket copied to clipboard

Fix disconnect via keepalive, invoke DispatchMessageQueue to handle received messages

Open Tossrock opened this issue 1 year ago • 0 comments

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.

Tossrock avatar Nov 22 '24 23:11 Tossrock