cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Roth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-7396) CachedOutputStream doesn't delete temp files
Date Wed, 07 Jun 2017 19:32:18 GMT

     [ https://issues.apache.org/jira/browse/CXF-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthew Roth updated CXF-7396:
------------------------------
    Description: 
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.

  was:
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 cause the check of this.streamList().isEmpty()
to fail.

This seems occur when too many large requests are processed in a row by.


> 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: 3.2.0, 3.1.12
>
>
> 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
(v6.3.15#6346)

Mime
View raw message