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

"connection timeout" / "connection error" messages swapped

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.6, 1.5.0
    • Affects Version/s: None
    • Component/s: libmongoc, network
    • None

      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".

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

              Created:
              Updated:
              Resolved: