mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
This is needed because when a error occures we close down the connection, and the stream will become unwriteable. Also changed to a single write instead of multiple writes.