-
Type: New Feature
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.4.0
-
Component/s: Testing
-
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.
- depends on
-
CDRIVER-1956 Topology scanner's SSL handshake is blocking
- Closed
- is related to
-
CDRIVER-1458 Test failure in mongoc_socket check_closed
- Closed
-
CDRIVER-1147 Use SSL_shutdown on OpenSSL connections?
- Closed
- related to
-
CDRIVER-1423 "Stream is closed" sending large message on Windows with OpenSSL
- Closed