mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-19 21:32:58 -05:00
Don't expire a conn if it's still referenced
This commit is contained in:
parent
69f4f4b673
commit
9381d04b87
1 changed files with 2 additions and 2 deletions
|
|
@ -1180,8 +1180,8 @@ retry_lock:;
|
|||
mc = NULL;
|
||||
|
||||
} else {
|
||||
if ( ( mi->mi_conn_ttl != 0 && op->o_time > mc->mc_create_time + mi->mi_conn_ttl )
|
||||
|| ( mi->mi_idle_timeout != 0 && op->o_time > mc->mc_time + mi->mi_idle_timeout ) )
|
||||
if ( mc->mc_refcnt == 0 && (( mi->mi_conn_ttl != 0 && op->o_time > mc->mc_create_time + mi->mi_conn_ttl )
|
||||
|| ( mi->mi_idle_timeout != 0 && op->o_time > mc->mc_time + mi->mi_idle_timeout )) )
|
||||
{
|
||||
#if META_BACK_PRINT_CONNTREE > 0
|
||||
meta_back_print_conntree( mi,
|
||||
|
|
|
|||
Loading…
Reference in a new issue