Closed
Description
ws 0.7.2's implementation emulates The WebSocket API by W3C but its behavior on connection fail is little different. Typically, browsers fire error
event and then close
event but ws module fires error
event only.
Whatever the reason, it's right that transport should fire close
event if it couldn't establish a connection. FYI, the above issue is reported to websockets/ws#505
Metadata
Metadata
Assignees
Labels
No labels