You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2025/07/30 11:39:00 UTC

[jira] [Comment Edited] (CXF-9131) DelayedCachedOutputStreamCleaner clears the temp cache files even when the temp is still in use

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

Andriy Redko edited comment on CXF-9131 at 7/30/25 11:38 AM:
-------------------------------------------------------------

[~deepaktaker]  The behavior that you have described is fixed by https://issues.apache.org/jira/browse/CXF-9118


was (Author: reta):
The behavior that you have described is fixed by https://issues.apache.org/jira/browse/CXF-9118

> DelayedCachedOutputStreamCleaner clears the temp cache files even when the temp is still in use
> -----------------------------------------------------------------------------------------------
>
>                 Key: CXF-9131
>                 URL: https://issues.apache.org/jira/browse/CXF-9131
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Deepak
>            Priority: Major
>
> DelayedCachedOutputStreamCleaner clears the temp cache files even when the temp is still in use.
> this class doesn't check whether or not the temp file is still being read before deletion.
> there should be logic in DelayedCachedOutputStreamCleaner that deletes the temp file only when it is not in use.
> [cxf/core/src/main/java/org/apache/cxf/io/DelayedCachedOutputStreamCleaner.java at cxf-3.5.10 · apache/cxf · GitHub|https://github.com/apache/cxf/blob/cxf-3.5.10/core/src/main/java/org/apache/cxf/io/DelayedCachedOutputStreamCleaner.java]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)