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

Test that topology scanner is still async with TLS

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.10.0
    • Component/s: tests
    • Labels:
      None
    • Story Points:
      4
    • Sprint:
      C Driver 2016 sprint 6, C Driver 2016 sprint 7, C Driver 2016 sprint 8, C Driver 2016 sprint 9, C Driver 2017 3 - March 7, C Driver 2017 3 - March 8

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: