addevent / phpwebsocket

Automatically exported from code.google.com/p/phpwebsocket
0 stars 0 forks source link

Messages longer than 127 characters not decoded. #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When sending messages that are longer than a 127 characters messages are not 
decoded and appear like this when I debug the hp socket server by passing the 
message to say():
��<c��en��sg��ty��>M��sa��</��pe��au��or
��hr��</��th��><��>1��.0��.1��ip��ms��as
��gh��ms��<d��et��e>��fa��</��te��me��/c
��en��sg�
> 
��<c��en��sg��ty��>M��sa��</��pe��au��or
��hr��</��th��><��>1��.0��.1��ip��ms��as
��gh��ms��<d��et��e>��fa��</��te��me��/c
��en��sg�

If I make the message one character shorter it works fine. Any ideas?

Original issue reported on code.google.com by snork...@gmail.com on 29 Nov 2011 at 11:30