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

CachedOutputStream doesn't delete temp files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.8
    • 3.5.9, 4.0.5, 3.6.4
    • 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

        1. HTTP Request.jmx
          7 kB
          Grégory
        2. image-2018-05-29-13-58-03-109.png
          3 kB
          Grégory
        3. image-2018-05-29-14-00-16-442.png
          37 kB
          Grégory
        4. image-2018-05-29-14-00-54-215.png
          11 kB
          Grégory
        5. Screenshot 2020-05-05 at 10.09.43.png
          96 kB
          Mats Aune
        6. Screenshot 2020-05-12 at 12.42.11.png
          132 kB
          Mats Aune

        Issue Links

          Activity

            People

              reta Andriy Redko
              zurbergram Matthew Roth
              Votes:
              5 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: