]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fix idletimeout
authorKurt Zeilenga <kurt@openldap.org>
Thu, 28 Sep 2000 20:01:05 +0000 (20:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 28 Sep 2000 20:01:05 +0000 (20:01 +0000)
CHANGES
servers/slapd/connection.c

diff --git a/CHANGES b/CHANGES
index 519fe83fc3368bd5db82759cfd2c1ffd41671d16..762fee9d2550f83a89ba0b3b340effff409f3452 100644 (file)
--- 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
index d03a7c9a790b61a895d434a5affb3560ffb34149..c0a3f64c833622904cd8168220cc18389fdeda70 100644 (file)
@@ -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;
 }