You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2018/01/11 14:00:09 UTC

[jira] [Resolved] (HTTPCLIENT-1895) GzipDecompressingEntity ignores everything but the first GZIP stream, non-compliant with RFC 1952

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

Oleg Kalnichevski resolved HTTPCLIENT-1895.
-------------------------------------------
       Resolution: Invalid
    Fix Version/s:     (was: 4.6 Alpha1)

The problem could not be reproduced. Test case added to 4.5.x, 4.6.x and 5.x

Oleg

> GzipDecompressingEntity ignores everything but the first GZIP stream, non-compliant with RFC 1952
> -------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1895
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1895
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (classic)
>    Affects Versions: 4.5.4
>            Reporter: Abhijit Sarkar
>         Attachments: multi-test.gz
>
>
> For a GZIP stream containing multiple sub streams, {{GzipDecompressingEntity}} ignores everything but the first GZIP stream. This is non-compliant behavior with [RFC 1952|https://tools.ietf.org/html/rfc1952]. Quoting section 2.2:
> {quote}
> A gzip file consists of a series of "members" (compressed data sets).  The format of each member is specified in the following section.  The members simply appear one after another in the file, with no additional information before, between, or after them.
> {quote}
> Detailed discussion about this bug can be found in [square/okhttp#3759|https://github.com/square/okhttp/issues/3759], including [comment|https://github.com/square/okhttp/issues/3759#issuecomment-356110268] from Mark Adler, co-author of GZIP.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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