Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24327

Several code using XWikiAttachmentContent#setContent(InputStream) or #getContentInputStream() are not closing the stream

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      We probably did not notice it in practice because most of them seems to actually be ByteArrayInputStream (for which close does not do anything) or a AutoCloseInputStream (which will eventually be closed, but it might take a bit too long when doing that a lot).

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: