[
https://issues.apache.org/jira/browse/HTTPCLIENT-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-1403.
-------------------------------------------
Resolution: Fixed
Hans,
I opted for a generic interface for pluggable content decoders [1] and rather
than making Commons Compress a direct dependency of HttpClient.
Please review / test.
Oleg
[1] http://svn.apache.org/viewvc?view=revision&revision=r1571635
> 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 Alpha1
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]