lua-resty-websocket
lua-resty-websocket copied to clipboard
bad RSV1, RSV2, or RSV3 bits
Hello,
I'm implementing a websocket server using lua-resty-websocket. When I send small frames everything is okay. But when the frame is getting bigger, approx 32kB I start receiving this message:
bad RSV1, RSV2, or RSV3 bits
I also can avoid this message by using a bigger Timeout:
local wb, err = server:new { max_payload_len = 65000, timeout = 1500}
but the drawback of this is that the messages are processed in a way slower manner: 1.5seconds is a huge time for a near real time application.
Do someone encountred this issue before ? Any idea of how to solve it please ?