Websocket implementation unable to handle continuation fragments

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.

Activity

Show:

CB robot September 5, 2023 at 4:48 PM

Build couchbase-lite-ios-3.1.1-15 contains couchbase-lite-core commit f35da6b with commit message:
: Properly handle continuation frames from websockets (#1860) (#1877)

CB robot August 31, 2023 at 5:15 PM

Build couchbase-lite-core-3.1.2-3 contains couchbase-lite-core commit f35da6b with commit message:
: Properly handle continuation frames from websockets (#1860) (#1877)

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created July 31, 2023 at 8:13 PM
Updated August 31, 2024 at 10:56 AM
Resolved September 7, 2023 at 6:22 PM
Instabug