[
https://issues.apache.org/jira/browse/CXF-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105314#comment-17105314
]
Mats Aune commented on CXF-7396:
--------------------------------
Issue is still valid. We upgraded from 3.1.5 to 3.3.4 and then 3.3.6, but kept
using/loosing files. After downgrade to 3.1.5 all is ok again. Not sure exactly
what causes this as other apps are using same version ok. !Screenshot
2020-05-12 at 12.42.11.png!
> CachedOutputStream doesn't delete temp files
> --------------------------------------------
>
> Key: CXF-7396
> URL: https://issues.apache.org/jira/browse/CXF-7396
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.1.8
> Reporter: Matthew Roth
> Priority: Minor
> Fix For: NeedMoreInfo
>
> Attachments: HTTP Request.jmx, Screenshot 2020-05-05 at 10.09.43.png,
> Screenshot 2020-05-12 at 12.42.11.png, image-2018-05-29-13-58-03-109.png,
> image-2018-05-29-14-00-16-442.png, image-2018-05-29-14-00-54-215.png
>
>
> In the CachedOutputStream the method maybeDeleteTempFile doesn't always
> delete the temp file when it should.
>
> this.streamList.remove(stream)
> Doesn't remove the stream, occasionally the stream is not in the list causing
> the check of this.streamList().isEmpty() to fail. Also occurs when
> this.streamList() contains multiple streams.
> This seems occur when too many large requests are processed in a row.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)