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

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

Abhijit Sarkar created HTTPCLIENT-1895:
------------------------------------------

             Summary: 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


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