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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      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

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

              Created:
              Updated:
              Resolved: