Details
Description
The remainingBytes argument inside of handleFragment is not a reliable measure of how big the buffer needs to be. Instead the only truly reliable source is fin, which is true or false. If we've already used up the buffer when we get another call it needs to be resized.
Attachments
Issue Links
- backports to
-
CBL-4789 Websocket implementation unable to handle continuation fragments
- Closed