[ https://issues.apache.org/jira/browse/CXF-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Mazza closed CXF-2816. --------------------------- Assignee: Glen Mazza Resolution: Fixed Hi Aaron, thanks for the patch. > CachedOutputStream leaves behind temp files if resetOut() is called > ------------------------------------------------------------------- > > Key: CXF-2816 > URL: https://issues.apache.org/jira/browse/CXF-2816 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.2.8 > Environment: Windows > Reporter: aaron pieper > Assignee: Glen Mazza > Attachments: patch.txt > > > CachedOutputStream's resetOut() has a section of code where it is possible to > open a FileInputStream without closing it. This happens if the stream is not > in memory, and copyOldContent is false. > I noticed this when I added a "LoggingOutInterceptor". When large messages > were logged, temp files would accumulate in the temp directory. Applying the > attached patch solved the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.