LearnBoost/socket.io — pull request #964 by crickeys (2012-07-27 02:23:32+00:00)
Title: Fix disconnectSync getting ignored

If using xhr-polling and a browser closes a tab or window, the
disconnectSync in the socket.io-client method is called which sends an
XHR request to the server indicating a disconnect. This line would cause
that to be ignored and so the server would have to wait for a timeout to
mark them as disconnect. This was possibly because it was sent from a
different tcp socket than the current connection.