Re: LdapConnectionPool.getConnection doing extraneous search?

2021-03-20 Thread Emmanuel Lécharny
Hi Shawn, I guess that the very first time we create the connection, when asking for one from a pool, we test it beforehandd, and this is done with the less costly operation: a dummy search. This is due to commons-pool logic where you can ask the pool to validate the connection one way or

LdapConnectionPool.getConnection doing extraneous search?

2021-03-20 Thread Shawn McKinney
Hello, I’m using LDAP API v1.0.3 inside fortress. My question is when retrieving connections from the pool using this: ``` public LdapConnection getConnection() Gives a LdapConnection fetched from the pool. Returns: an LdapConnection object from pool ``` I noticed in the OpenLDAP logs