LazWebsockets
LazWebsockets copied to clipboard
Fragmented messages broken
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
+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.
https://datatracker.ietf.org/doc/html/rfc6455#page-33 - a good explanation of mechanic I believe for those who are interested.