Files
browser/src/sys
Adrià Arrufat 3f0d0909ec websocket: reassemble fragmented messages
A message sent as several frames reached the page as one message event
per frame. libcurl flags every fragment but the last with CURLWS_CONT
and repeats the message type on each, so fromFlags never saw the
continuation and the receive buffer was cleared at every frame start.

Accumulate data frames until the final fragment, and buffer control
frames separately: RFC 6455 lets a ping or close arrive between the
fragments of a data message. The size limit applies to the whole
message.

Fixes #4490
2026-11-06 11:23:23 +01:00
..
2026-08-19 21:49:02 +08:00
2026-11-01 09:04:58 +08:00