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

Test that topology scanner is still async with TLS

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.10.0
    • Affects Version/s: 1.4.0
    • Component/s: Testing
    • Labels:
      None

      Use the mock_server_t for end-to-end testing of the driver's topology scanner, especially that it is still async – ensuring we avoided introducing blocking code into the scanner was a focus of the native TLS code reviews (CDRIVER-749).

      Now that we use SSL_shutdown on OpenSSL connections (CDRIVER-1147), the mock server must detect client-side remote shutdown, otherwise mongoc_client_destroy will hang for socketTimeoutMS when connected to mock_server_t with OpenSSL.

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

              Created:
              Updated:
              Resolved: