give slapd a chance to play callback cleanup handlers when a search operation is abandoned (ITS#4645)

This commit is contained in:
Pierangelo Masarati 2006-08-17 19:47:25 +00:00
parent 73ec336a89
commit 9c52a2c4ff
2 changed files with 7 additions and 2 deletions

View file

@ -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 );
}

View file

@ -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;
}
}