Skip to content
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

Websockets maximum packet length #246

Open
king2 opened this issue Jun 5, 2021 · 0 comments
Open

Websockets maximum packet length #246

king2 opened this issue Jun 5, 2021 · 0 comments

Comments

@king2
Copy link

king2 commented Jun 5, 2021

Hello!

I have a problem with websockets with relatively large packets. When message size grows to something about 570-580 bytes - problems begins.

Size of message received by client, for example, is 583 bytes. When React sends something back (same message, but modified a bit) - 538 bytes. Receive 594 bytes - 549 goes back, and so on, some information losts. 577 bytes data and less - works as it should.

image
image

Another fact is that when I click on button, message sent to server highlights with green color in DevTools.
With little packets such green messages disappears much faster than with large messages.

But if I quick enough to copy outgoing green message from DevTools - it looks like normal JSON.

Can you help me with this problem?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant