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

CachedOutputStream doesn't delete temp files

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.8
    • NeedMoreInfo
    • Core
    • None
    • Unknown

    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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zurbergram Matthew Roth

            Dates

              Created:
              Updated:

              Slack

                Issue deployment