Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1895

GzipDecompressingEntity ignores everything but the first GZIP stream, non-compliant with RFC 1952

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 4.5.4
    • Fix Version/s: None
    • Component/s: HttpClient (classic)
    • Labels:
      None

      Description

      For a GZIP stream containing multiple sub streams, GzipDecompressingEntity ignores everything but the first GZIP stream. This is non-compliant behavior with RFC 1952. Quoting section 2.2:

      A gzip file consists of a series of "members" (compressed data sets). The format of each member is specified in the following section. The members simply appear one after another in the file, with no additional information before, between, or after them.

      Detailed discussion about this bug can be found in square/okhttp#3759, including comment from Mark Adler, co-author of GZIP.

        Attachments

        1. multi-test.gz
          0.1 kB
          Sudheera Palihakkara

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sarkara1 Abhijit Sarkar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: