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

HttpClient cannot handle contatenated gzip streams

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.3 Final
    • 4.4 Alpha1
    • HttpClient (classic)
    • None

    Description

      HttpClient uses java.util.zip.GZIPInputStream which in many versions of java is unable to handle concatenated gzip streams properly. Concatenated gzip streams are themselves valid gzip streams. This makes fetching data from certain servers impossible due to the transparent nature of HttpClients Entity Decompression.

      Suggest using commons-compress instead of GZIPInputStream/GZIPOutputStream

      Attachments

        1. commons-compress.patch
          4 kB
          Hans Uhlig

        Activity

          People

            Unassigned Unassigned
            huhlig Hans Uhlig
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: