Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4802

Websocket implementation unable to handle continuation fragments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Beryllium
    • 3.1.0
    • LiteCore
    • Security Level: Public
    • None
    • LiteCore 113, LiteCore 114
    • 1

    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

          Activity

            People

              callum.birks Callum Birks
              jianmin.zhao Jianmin Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty