-
Notifications
You must be signed in to change notification settings - Fork 845
Message data missing or overlaps previous data #177
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
Comments
Well first off, I seem to be having trouble with node.js 4.0.0 and buffers |
Yeah with node.js 4.0.0 and socket.io sending Buffers seems to be broken. |
sorry I've forgotten append versions info nodejs v0.12.7 socket.ui-client-swift v2.4.5 |
Okay, I fixed my 4.0.0 issue. We need to update the engine version in socket.io to the latest |
Okay, from what I'm seeing so far, it's a problem when the client is switching from polling to websockets. Doesn't seem to happen when using polling or websockets only |
Should be fixed in the latest version. Although the latest version will require Swift 2 and Xcode 7, which should be coming out in 2 days |
It works, Thank You! |
start emmiting multiple messages immediately after socket connected
results to message data loss or overlap
emitting multiple messages in short time interval
for eg: (message name, data)
in some cases data are invalid decoded
needs to reproduces:
backend
ios
there is socket.io log https://gist.github.com/falsecz/4a78d945ffa8c9ceb275
as you can see on line 73, there is long message header followed by short message header, but long data is missing
The text was updated successfully, but these errors were encountered: