mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Added onDisconnect call if long poll is interrupted
This commit is contained in:
@@ -583,6 +583,8 @@ if ('jQuery' in this) jQuery.io = this.io;
|
||||
if (status == 200){
|
||||
if (self._xhr.responseText.length) self._onData(self._xhr.responseText);
|
||||
self._get();
|
||||
} else {
|
||||
self._onDisconnect();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user