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

"connection timeout" / "connection error" messages swapped

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.3.6, 1.5.0
    • None
    • libmongoc, network
    • None

    Description

      When a topology scan encounters a network error, it can usefully distinguish between a timeout and a hangup by recording the message "connection error" or "connection timeout". These messages are swapped mongoc_topology_scanner_ismaster_handler, so e.g. if the target machine is refusing connections, the message is wrongly "connection timeout".

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: