cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3504) for big attachment, a temporary file is left on disk and keep opend, if the application just close the DataSource's inputStream and doesn't consume it;
Date Tue, 17 May 2011 13:50:47 GMT

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

Freeman Fang commented on CXF-3504:
-----------------------------------

This is caused by still can read MimeBodyPartInputStream after closing it, so that after closing
the unread stream , it cache to temp file but have no chance to delete temp file even the
process exit.

> for big attachment, a temporary file is left on disk and keep opend, if the application
just close the DataSource's inputStream and doesn't consume it; 
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3504
>                 URL: https://issues.apache.org/jira/browse/CXF-3504
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: ext2
>            Assignee: Freeman Fang
>         Attachments: attachment-clean.zip, mtom.wsdl
>
>
> when the client receiving multiple larget attachments from server. here "large" means
: attachment size is large enough to be saved as temporary file on disk;
> for the last attachment, if the user application only close the input stream got from
DataSource and doesn't consume the input stream at all, a temporary file will be left on the
disk.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message