Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4401

XMLStreamDataReader does not close the original input stream when it is to be closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.1
    • 2.4.9, 2.5.5, 2.6.2, 2.7
    • Core
    • None
    • Unknown

    Description

      When XMLStreamDataReader is used to instantiate a stream reader from the original input stream held in the message, closing the reader does not close the original input stream.

      As the input stream object is removed from the message during this process, the input stream object cannot be closed by another component (e.g., AbstractHTTPDestination).

      The symptom of this problem will appear when large messages are processed, as temp files generated by CachedOutputStream are not deleted because of the missing close() call.

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: