mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
Shorten time operation_mutex is locked
This commit is contained in:
parent
e03c9e6fb4
commit
532fc1bf98
1 changed files with 1 additions and 1 deletions
|
|
@ -668,10 +668,10 @@ operation_send_reject(
|
|||
* client is dead, it must have been the upstream */
|
||||
assert( c );
|
||||
CONNECTION_LOCK(c);
|
||||
ldap_pvt_thread_mutex_unlock( &operation_mutex );
|
||||
Debug( LDAP_DEBUG_TRACE, "operation_send_reject: "
|
||||
"not sending msgid=%d, client connid=%lu is dead\n",
|
||||
op->o_client_msgid, op->o_client_connid );
|
||||
ldap_pvt_thread_mutex_unlock( &operation_mutex );
|
||||
operation_destroy_from_upstream( op );
|
||||
UPSTREAM_UNLOCK_OR_DESTROY(c);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue