[
https://issues.apache.org/jira/browse/CXF-9131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deepak updated CXF-9131:
------------------------
Description:
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]
was:
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.
> 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)