Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-335

Site-to-Site can sometimes fail if compression is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.0.1
    • 0.0.2
    • Core Framework
    • None

    Description

      CompressionInputStream has a bug that causes it to return a negative value when calling read() if the value of a byte is negative. Currently returns

      return buffer[bufferIndex++];

      Needs to return

      return buffer[bufferIndex++] & 0xFF;

      Attachments

        Activity

          People

            markap14 Mark Payne
            markap14 Mark Payne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: