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

ASF subversion and git services commented on HTTPCLIENT-1895:
-------------------------------------------------------------

Commit e7825a6f13bfcc08fecf353a028173853d0e58f2 in httpcomponents-client's 
branch refs/heads/4.5.x from [~sudheera]
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=e7825a6 
]

HTTPCLIENT-1895: added test case for multi-member GZIP content streams (per RFC 
1952)


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

Reply via email to