cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aaron pieper (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2816) CachedOutputStream leaves behind temp files if resetOut() is called
Date Tue, 18 May 2010 17:28:42 GMT
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


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.


Mime
View raw message