Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-476

mongoc_collection_find does not report dropped connection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.0.2
    • None
    • None
    • osx

    Description

      If client drops connection to the server, mongoc_collection_find() returns empty cursor as if no documents match the query, rather than signalling an error. Logs show "WARNING: stream: Failure to buffer 4 bytes: Failed to buffer 4 bytes within 300000 milliseconds," but this is not passed up to the application level.

      Attachments

        Activity

          People

            Unassigned Unassigned
            timful Tim Dorcey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: