hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Uhlig (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1403) HttpClient cannot handle contatenated gzip streams
Date Fri, 27 Sep 2013 21:36:03 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Hans Uhlig updated HTTPCLIENT-1403:

    Attachment: commons-compress.patch

Seems there is a bug in Apache commons-compress CompressorFactory about handling concatenated
decompression. I am submitting a new patch that is fully verified to Addresses it. 
> HttpClient cannot handle contatenated gzip streams
> --------------------------------------------------
>                 Key: HTTPCLIENT-1403
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1403
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.3 Final
>            Reporter: Hans Uhlig
>            Priority: Minor
>             Fix For: 4.4 Final
>         Attachments: commons-compress.patch
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message