LearnBoost/websocket.io — pull request #25 by nicokaiser (2012-03-13 00:33:54+00:00)
Title: Handle socket "timeout" event

In some cases, a socket throws the "timeout" event (even though setTimeout(0) prevents timeouts). This should be handled by the server.

I don't know if "self.destroy()" is the right way to handle it, because I have seen timeouts on connections that were not "open" (so nothing is emitted to the application). Don't know if this could lead to socket leakage.