Hi Everyone,
is it possible that a reconnecting websocket (reconnecting-websocket.js) should try to reconnect without that server application hasn't catch a disconnection and without the server could have close the websocket connection? Could exist some kind of connection interruption that is not cacthed by the server but catched for client that try to reconnect?
It is possible. The server will probably disconnect the previous connection quite quickly.
If this is an issue for you then you will need to close the old connection yourself from the new WebSocket handler instance. This will require keeping a map of open connections.