[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to