mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
give slapd a chance to play callback cleanup handlers when a search operation is abandoned (ITS#4645)
This commit is contained in:
parent
73ec336a89
commit
9c52a2c4ff
2 changed files with 7 additions and 2 deletions
|
|
@ -469,7 +469,11 @@ finish:;
|
|||
ldap_back_quarantine( op, rs );
|
||||
}
|
||||
|
||||
if ( rc != SLAPD_ABANDON ) {
|
||||
#if 0
|
||||
/* let send_ldap_result play cleanup handlers (ITS#4645) */
|
||||
if ( rc != SLAPD_ABANDON )
|
||||
#endif
|
||||
{
|
||||
send_ldap_result( op, rs );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1128,7 +1128,8 @@ really_bad:;
|
|||
|
||||
if ( op->o_abandon ) {
|
||||
rc = SLAPD_ABANDON;
|
||||
goto finish;
|
||||
/* let send_ldap_result play cleanup handlers (ITS#4645) */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue