You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2010/05/20 07:17:55 UTC
[jira] Closed: (CXF-2816) CachedOutputStream leaves behind temp
files if resetOut() is called
[ 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.