From: Howard Chu Date: Mon, 9 Jan 2006 09:37:52 +0000 (+0000) Subject: TS#4315 fix prev commit, spinning in ldap_back_dobind X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~389 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8538223def0997c594fbfbf32bef7deb4ca2a7e5;p=openldap TS#4315 fix prev commit, spinning in ldap_back_dobind --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 8083428730..8fb0a7ad08 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -665,8 +665,11 @@ ldap_back_dobind_int( return rc; } - while ( lc->lc_refcnt > 1 ) + while ( lc->lc_refcnt > 1 ) { ldap_pvt_thread_yield(); + if (( rc = LDAP_BACK_CONN_ISBOUND( lc ))) + return rc; + } /* * FIXME: we need to let clients use proxyAuthz