You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/09 16:57:51 UTC

[jira] [Resolved] (COMPRESS-154) GzipCompressorInputStream doesn't support concatenated .gz files

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

Stefan Bodewig resolved COMPRESS-154.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

The patch is in with svn revision 1199812 (but defaults to not support concatenated streams).

Missing are docs and testcases, but in order to keep discussion in a single place, Reply-To: COMPRESS-146
                
> GzipCompressorInputStream doesn't support concatenated .gz files
> ----------------------------------------------------------------
>
>                 Key: COMPRESS-154
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-154
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>            Reporter: Lasse Collin
>             Fix For: 1.4
>
>         Attachments: GzipCompressorInputStream.java
>
>
> The .gz format allows concatenating multiple .gz files as is. A decompressor should decompress the resulting multimember file as if it were a single .gz file.
> GzipCompressorInputStream is a wrapper for java.util.zip.GZIPInputStream which doesn't support concatenated .gz files. Only the first .gz member is decompressed and the rest of the compressed data is silently ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira