Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information