mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't recursive lock connections_mutex in idle timeout routine
This commit is contained in:
parent
de61693cdb
commit
f164e69baa
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue