Commit 2964bfc4 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#3549 acknowledge CANCEL requests

parent 5d8ece60
......@@ -881,8 +881,12 @@ syncprov_op_abandon( Operation *op, SlapReply *rs )
if ( so ) {
/* Is this really a Cancel exop? */
if ( op->o_tag != LDAP_REQ_ABANDON ) {
so->s_op->o_cancel = SLAP_CANCEL_ACK;
rs->sr_err = LDAP_CANCELLED;
send_ldap_result( so->s_op, rs );
while ( so->s_op->o_cancel != SLAP_CANCEL_DONE ) {
ldap_pvt_thread_yield();
}
}
syncprov_drop_psearch( so, 0 );
}
......
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