Heartbeat was incorrectly set and resulted in disconnects on certain server implementations.
This commit is contained in:
parent
8337e7bae6
commit
7dca8f9ba4
2 changed files with 7 additions and 2 deletions
|
|
@ -407,6 +407,7 @@ class SocketIO(object):
|
|||
'6': self._on_ack,
|
||||
'7': self._on_error,
|
||||
'8': self._on_noop,
|
||||
'': self._on_noop
|
||||
}[code]
|
||||
except KeyError:
|
||||
raise PacketError('unexpected code (%s)' % code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue