pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.22k stars 197 forks source link

fixed multiple ws open #69

Closed camille-wintz closed 6 years ago

camille-wintz commented 6 years ago

Disconnecting with undefined as code causes the close method to crash. When trying to reconnect after a lost connection, this can cause several WebSockets to remain opened at the same time, if the network is very slow to answer.

guillaumepotier commented 6 years ago

Hello, any update on that one?

eliseumds commented 6 years ago

It'd indeed be great to have this.