-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser Client Minification breaks Payload encoding/decoding #422
Comments
Thanks for providing us with steps to reproduce. I'll look in to it ~ Arnout Kazemier On Jul 26, 2011, at 2:54 AM, [email protected] wrote:
|
Fixed with socketio/socket.io-client#254 |
Fix landed in master of socket.io-client, will be available in the next release |
The minified browser client breaks the encoding/decoding of Payloads in the browser when using XHR-Polling.
Here is the code to reproduce the bug:
Code on the client side:
Upon clicking "Send Payload" button on the web page, we expect 5 "hello" on the server console and 25 "hello" on the client output. Only one arrives on each side.
Removing the client minification string from server side fixes the problem.
Tested on socket.io version 0.7.7, installed using NPM.
The text was updated successfully, but these errors were encountered: