From 3e84f692aad70e07c3f75571661e848056c93bc3 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 23 Jul 2005 22:03:35 +0000 Subject: [PATCH] there might definitely be concurrency issues, but it's not pooled connections' fault --- servers/slapd/back-ldap/bind.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 3c5e3f1dfc..251387218f 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -37,12 +37,6 @@ #define PRINT_CONNTREE 0 -/* - * FIXME: temporarily disable pooled connections, as there seem to be - * some concurrency problem - */ -/* #undef LDAP_BACK_POOLED_CONNS */ - static LDAP_REBIND_PROC ldap_back_rebind; static int @@ -425,16 +419,13 @@ ldap_back_getconn( Operation *op, SlapReply *rs, ldap_back_send_t sendok ) } /* Internal searches are privileged and shared. So is root. */ -#ifdef LDAP_BACK_POOLED_CONNS /* FIXME: there seem to be concurrency issues */ if ( op->o_do_not_cache || be_isroot( op ) ) { lc_curr.lc_local_ndn = op->o_bd->be_rootndn; lc_curr.lc_conn = NULL; lc_curr.lc_ispriv = 1; - } else -#endif /* LDAP_BACK_POOLED_CONNS */ - { + } else { lc_curr.lc_local_ndn = op->o_ndn; } -- 2.39.5