sasl_client_init() and sasl_client_done() are supposed to be global load/unload functions. We call them for each sasl connection we initialize, which seems wrong.
Also, sasl_client_init() and done() aren't thread safe... We should probably be running those in the driver init() / cleanup(). Also, take a look at whether we need sasl_set_mutex().
- is depended on by
-
CDRIVER-530 SASL version check does not do what you think it does
- Closed
- related to
-
CDRIVER-731 Custom log handler cannot capture tracing on sasl_set_mutex callbacks
- Closed
- links to