Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-462

GridFSInputFile does not close input streams when constructed by the driver.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7
    • None
    • None
    • None

    Description

      There is an issue here that the input stream is not being closed (when constructed by the driver).

      Since you can construct a GridFSInputFile with an InputStream, it is really the callers responsibility to close the intput stream object. It would be presumptuous for us to close that input stream.

      https://github.com/mongodb/mongo-java-driver/pull/50

      Attachments

        Activity

          People

            antoine Antoine Girbal
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: