Skip to content

Conversation

@nkzawa
Copy link
Contributor

@nkzawa nkzawa commented Aug 20, 2015

Transports are already ready when created, so readyState should be open rather than opening.
This PR will fix that a WebSocket connection is not closed when upgrade timeout, and hopefully fix fd leaks.

https://github.com/socketio/engine.io/blob/master/lib/socket.js#L169 (readyState would never be open here)

Related: #336

rauchg added a commit that referenced this pull request Aug 27, 2015
Fix transport readyState and leaking sockets
@rauchg rauchg merged commit 4f6e3cf into socketio:master Aug 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants