Open
Description
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.
To reproduce, use the websocket-client-simple example with either the em-websocket example or with the WebSocket-EventMachine-Server example modified for TLS.
Metadata
Metadata
Assignees
Labels
No labels