You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "aaron pieper (JIRA)" <ji...@apache.org> on 2008/02/19 23:26:43 UTC

[jira] Issue Comment Edited: (CXF-1438) AttachmentDeserializer is leaving behind temp files

    [ https://issues.apache.org/jira/browse/CXF-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570481#action_12570481 ] 

piepera edited comment on CXF-1438 at 2/19/08 2:26 PM:
------------------------------------------------------------

Patch for 2.0.4-incubator CachedOutputStream.java. This patch makes CachedOutputStream delete the temporary file when the last inputstream/outputstream is closed.

      was (Author: piepera):
    patch to 2.0.4-incubator version of CachedOutputStream.java, which resolves the issue
  
> AttachmentDeserializer is leaving behind temp files
> ---------------------------------------------------
>
>                 Key: CXF-1438
>                 URL: https://issues.apache.org/jira/browse/CXF-1438
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Windows XP
>            Reporter: aaron pieper
>             Fix For: 2.1
>
>         Attachments: diff.txt
>
>
> AttachmentDeserializer appears to be leaving behind temp files. Every time "cache" is called, it creates a new temp file with IOUtils.copy (line 228). This file is never deleted. It looks like there's a hook so it should get deleted if the inputStream is closed, but the inputStream is never closed.

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