mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#9288 Do no change tainted status on failed retry
It seems refcnt == 0 connections are tainted only if they were just removed from cache.
This commit is contained in:
parent
1e3e6cdd4a
commit
99efeda06f
@ -2022,7 +2022,6 @@ ldap_back_retry( ldapconn_t **lcp, Operation *op, SlapReply *rs, ldap_back_send_
|
||||
if ( rc == 0 && *lcp != NULL ) {
|
||||
/* freeit, because lc_refcnt == 1 */
|
||||
(*lcp)->lc_refcnt = 0;
|
||||
LDAP_BACK_CONN_TAINTED_SET( *lcp );
|
||||
(void)ldap_back_freeconn( li, *lcp, 0 );
|
||||
*lcp = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user