tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TIKA-567) Temporary file leak in TikaInputStream
Date Wed, 19 Jan 2011 16:36:45 GMT

    [ https://issues.apache.org/jira/browse/TIKA-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983784#action_12983784
] 

Jukka Zitting commented on TIKA-567:
------------------------------------

To clarify, there's normally no need to use the TemporaryFiles construct in client code, it's
mostly for internal Tika code.

> Temporary file leak in TikaInputStream
> --------------------------------------
>
>                 Key: TIKA-567
>                 URL: https://issues.apache.org/jira/browse/TIKA-567
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.8
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 0.9
>
>
> The TikaInputStream.get(InputStream) method can end up leaking temporary files in cases
like the Detector classes that will not close the returned stream.
> There should be a mechanism to signal that a potential TikaInputStream wrapper will no
longer be used even if the underlying stream should not be closed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message