Uploaded image for project: 'Java DCP Client'
  1. Java DCP Client
  2. JDCP-83

Flow Control ACK size is incorrect when compression is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.16.0
    • 0.14.0, 0.15.0
    • None
    • 1

    Description

      Compressed messages are currently decompressed transparently by the SnappyDecoder Netty handler. This increases the messages size. When the message is acknowledged, the client ends up sending a too-large byte count, since it's ACKing the decompressed size instead of the original size.

      A possible fix is to defer decompression until the client calls MessageUtil.getContent().

      Attachments

        For Gerrit Dashboard: JDCP-83
        # Subject Branch Project Status CR V

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty