You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found two cases where ws.on :close is not triggered, both involving the server going down. First is with a em-websocket server, and the second is with a secure: true connection with a WebSocket-EventMachine-Server server.
A possible fix is to replace sleep 1 with close in client.rb.
I've found two cases where ws.on :close is not triggered, both involving the server going down. First is with a em-websocket server, and the second is with a
secure: true
connection with a WebSocket-EventMachine-Server server.A possible fix is to replace
sleep 1
withclose
in client.rb.To reproduce, use the websocket-client-simple example with either the em-websocket example or with the WebSocket-EventMachine-Server example modified for TLS.
The text was updated successfully, but these errors were encountered: