Heartbeat was incorrectly set and resulted in disconnects on certain server implementations.

This commit is contained in:
Joey Payne 2016-01-27 12:26:54 -07:00
commit 7dca8f9ba4
2 changed files with 7 additions and 2 deletions

View file

@ -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)