Commit 9c52a2c4 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

give slapd a chance to play callback cleanup handlers when a search operation...

give slapd a chance to play callback cleanup handlers when a search operation is abandoned (ITS#4645)
parent 73ec336a
......@@ -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;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment