Closed ghost closed 3 years ago
Thanks for creating this ticket to report the issue. I think the problem is introduced in version 3.6.0. The problem should now be solved in version 3.6.1.
Yes, works great. That was quick fix. Thanks!
Nice, thanks for the feedback. I will close the issue.
As in title, sending
binary message
cause sending fragments ofyour source code
in thatbinary message
instead.I'm using latest
engine.io
backend witheiows
and tested with classicws
also. Andeiows
seems to has a bug in sending binary.When you send binary message to client, like this in your backend code:
socket.send(Buffer.from([0, 1, 2, 3, 4, 5]));
You will receive in chrome browser:
eiows
: 8.2kb binary message, when you inspect it more you will see fragments of your source code in it :O - dangerous bugws
: 6B binary message - correct