invisibleroads / socketIO-client

A socket.io client library for Python
http://pypi.python.org/pypi/socketIO-client
MIT License
447 stars 205 forks source link

Change something in _read_packets #198

Open edelangh opened 6 years ago

edelangh commented 6 years ago

I've some trouble to connect to socket.io server 2.1.1 I've made this change, and now everything works well.

WhiteExponent commented 4 years ago

Yeah, for some reason the old code checks for a 0xFF byte, when the protocol specification says that the packet length is followed by a :.