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

ASF GitHub Bot commented on COMPRESS-385:
-----------------------------------------

Github user coveralls commented on the issue:

    https://github.com/apache/commons-compress/pull/18
  
    
    [![Coverage 
Status](https://coveralls.io/builds/11089922/badge)](https://coveralls.io/builds/11089922)
    
    Coverage increased (+0.06%) to 84.233% when pulling 
**49f121414b0ba26793bdd21de618d6c3077c6351 on tballison:COMPRESS-385** into 
**08113862c5dda6dfb0562d84db8db8f5f41bfa4a on apache:master**.



> Add detect() to CompressorStreamFactory
> ---------------------------------------
>
>                 Key: COMPRESS-385
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-385
>             Project: Commons Compress
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Minor
>             Fix For: 1.14
>
>
> On TIKA-1631, several users have requested that we try to avoid an OOM when a 
> corrupted Z file is "detected" by CompressorStreamFactory.  
> In Tika, for detection, we're creating the stream via CompressorStreamFactory 
> and then "detecting" based on what stream was created.  Given that there can 
> be some overhead in creating the stream and that there can be an OOM for a 
> corrupt Z file, it would be great to add a {{detect(InputStream is)}} option 
> in CompressorStreamFactory.
> PR on way.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to