mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Fixes polling loop upon reconnect advice (fixes #438).
This commit is contained in:
@@ -80,6 +80,10 @@
|
||||
this.onConnect();
|
||||
}
|
||||
|
||||
if (packet.type == 'error' && packet.advice == 'reconnect') {
|
||||
this.open = false;
|
||||
}
|
||||
|
||||
this.socket.onPacket(packet);
|
||||
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user