Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1317

bucket::upload_from_stream() and bucket::upload_from_stream_with_id() should abort upload on failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.0-rc0
    • Implementation

    Description

      According to the File Upload section of the GridFS spec, the bucket::upload_from_stream() and bucket::upload_from_stream_with_id() methods should abort the upload on failure (excerpted text: "When using upload_from_stream, the upload will be aborted if the source stream raises an error").

      Attachments

        Issue Links

          Activity

            People

              sam.rossi@mongodb.com Samuel Rossi (Inactive)
              rassi J Rassi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: