Closed SQReder closed 5 years ago
Current implementation of payload parsing fails when receive payload with multiple packets in it. This commit fix it.
Example (slightly synthetic, but show the idea): Receive payload 10:40/stream,1:227:42/stream,["SET_STREAM_ID"]
10:40/stream,1:227:42/stream,["SET_STREAM_ID"]
Expected behaviour: Process all 3 packets
0/stream
Actual behaviour: Exception SocketIOProtocolException with message "No packet length defined" thrown
Cool. When will you update package on central?
Current implementation of payload parsing fails when receive payload with multiple packets in it. This commit fix it.
Example (slightly synthetic, but show the idea): Receive payload
10:40/stream,1:227:42/stream,["SET_STREAM_ID"]
Expected behaviour: Process all 3 packets
0/stream
Actual behaviour: Exception SocketIOProtocolException with message "No packet length defined" thrown