Prior to SERVER-56617, LDAPConnectionFactory::create would create a pooled connection if isNativeImplThreadSafe is true. This would be true if OpenLDAPConnection::isThreadSafe(). This would be true if ldapForceMultiThreadMode had been enabled.
Now LDAPConnectionFactory::create creates a pooled connection if isNativeImplPoolingSafe() is true. isNativeImplPoolingSafe() is true if the new library traits system says the underlying LDAP library is poolingSafe. It does not consider if ldapForceMultiThreadMode is enabled.
- duplicates
-
SERVER-78188 Permit default use of multithreaded LDAP connection pool with libldap and OpenSSL 1.1.1
- Closed
- is caused by
-
SERVER-56617 Reconsider advice to switch to the libldap_r
- Closed