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

Websocket implementation unable to handle continuation fragments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.1.3
    • 3.1.0
    • LiteCore
    • Security Level: Public
    • None
    • 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

              jianmin.zhao Jianmin Zhao
              pasin Pasin Suriyentrakorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty