Hi,

I'm implementing a server that sends a message through a websocket with SSL. This message is round 350 KB large the application is deployed on linux docker container.

My server uses a plain "socket.send( mymsg );"

The client is implemented using libwebsockets (C) on windows, and seems to receive this message in tokens 256 bytes each.

The client has no particular setup, and I'm trying to understand where does this tokenization come from, considering that the default receive buffer is 4096bytes and it keeps reading only 256 each.

Can you help me investigate this? Do you know if this behaviour can be caused by the server send implementation and how I could avoid it?

Thank you very much