Commit 99efeda0 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount

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.
parent 1e3e6cdd
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment