[undertow-dev] We are noticing broken websocket messages

Robin Anil robin.anil at gmail.com
Tue Mar 22 11:52:43 EDT 2016


Stuart,

We are using undertow websocket library for passing back and forth
serialized JSON messages using Websockets.sendText method

On the client side in Chrome we are noticing that that instead of 1 message
we are receiving 2 where the first one is truncated at some 323,821 B and
the second message is of 148,583 but malformed (its text but its garbled)
and therefore not a JSON even if its concatenated with the first message

We are converting protocol buffers to JSON on the server side and can't
point the finger at that code as it had worked for even bigger JSON
messages.

To investigate this further I need help ruling out any message size or
frame size limitation on undertow that could cause this. Any pointers here
would be helpful.

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20160322/45ac2e66/attachment-0001.html 


More information about the undertow-dev mailing list