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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Girbal (Inactive)
            Reporter:
            Ryan Nitz
            None
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: