LazWebsockets icon indicating copy to clipboard operation
LazWebsockets copied to clipboard

Fragmented messages broken

Open Warfley opened this issue 4 years ago • 2 comments

There is something wrong with fragmented messages, while the here defined server and client can use them amongst each other, they seem to not be standard complient and any other client/server (like a browser) immediatly shuts down the stream when recieving fragmented messages

Warfley avatar Apr 10 '20 15:04 Warfley

+1 We have the same issue. Our environement is Lzarus+NodeJS (ws client and ws server). When Lazarus send big message to server via ws there error coming:

ERROR: RangeError: Invalid WebSocket frame: invalid opcode 1. As per web it's a generic error code. Could anyone adivise if there is any fix for the subject.

noszone avatar Nov 02 '21 08:11 noszone

https://datatracker.ietf.org/doc/html/rfc6455#page-33 - a good explanation of mechanic I believe for those who are interested.

noszone avatar Nov 02 '21 09:11 noszone