-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Single Message Sent is received as multiple Messages #14
Comments
Hi @christandlg - thanks for raising the issue. There are a couple of things this could be:
For large messages, the use of WS framing is recommended but the implementation of it in my library is not extensively tested. Testing locally (i.e. localhost with the client running on the same machine as the server), I can do 60MB no problem (but it start to take a long time): It would perhaps make sense to distinguish (e.g. with a different error code) between 'no data received' and 'data received but did not complete within timeout period'. |
I think this may be the core issue. It would explain the inconsistency in received message length and also explain !15, if in
How can I try that? Do I need to control the |
I have observed that occasionally (depending on message length) a single message sent by either server or client is received as multiple messages by the other party.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: