From 37c15dca4078f532421b5134d86707ea71b215fd Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 28 Sep 2000 20:01:05 +0000 Subject: [PATCH] Fix idletimeout --- CHANGES | 1 + servers/slapd/connection.c | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 519fe83fc3..762fee9d25 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ OpenLDAP 2.0 Change Log OpenLDAP 2.0.X Engineering Fixed slapd/ldbm/search confusing log message (ITS#771) Fixed slapd/sasl no cred bug + Fixed slapd idletimeout lock bug (ITS#767) Fixed slurpd TLS initialization bug (ITS#768) OpenLDAP 2.0.4 Release diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index d03a7c9a79..c0a3f64c83 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -169,8 +169,6 @@ int connections_timeout_idle(time_t now) int connindex; Connection* c; - ldap_pvt_thread_mutex_lock( &connections_mutex ); - for( c = connection_first( &connindex ); c != NULL; c = connection_next( c, &connindex ) ) @@ -184,8 +182,6 @@ int connections_timeout_idle(time_t now) } connection_done( c ); - ldap_pvt_thread_mutex_unlock( &connections_mutex ); - return i; } -- 2.39.5