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] [Commented] (HTTPCLIENT-1403) HttpClient cannot handle contatenated gzip streams
Date Tue, 24 Sep 2013 18:50:02 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776617#comment-13776617

Hans Uhlig commented on HTTPCLIENT-1403:

Seems reasonable. I have a patched version already but it would be nice to see the fix upstream.
> 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: 0001-Swapped-Broken-Java-implementation-of-GZIP-for-commo.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