Send WebSocket messages in smaller chunks over socket.io #4753
Unanswered
simonduchen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I work with a service where we use socket.io to send a large amount of JSON data from our server when we connect to the client application. We have stumbled upon an issue were our customers socket connection gets closed due to the WebSocket frame size limit is reached in their proxy server, hence the message do not reach the client. Short term the idea is for them to configure their proxies to be able to handle larger WebSocket messages.
However, we are looking for a solution to send this data in chunks using socket.io, like a stream or similar to decrease the WebSocket message size. We do not want to use socket.io-stream as it seems to be quite outdated and not maintained.
Any suggestions how we could solve this?
Beta Was this translation helpful? Give feedback.
All reactions