Commit dfe1f649 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9428 fix cancel exop

parent 27428b96
...@@ -65,6 +65,11 @@ int cancel_extop( Operation *op, SlapReply *rs ) ...@@ -65,6 +65,11 @@ int cancel_extop( Operation *op, SlapReply *rs )
return LDAP_PROTOCOL_ERROR; return LDAP_PROTOCOL_ERROR;
} }
if ( opid == op->o_msgid ) {
op->o_cancel = SLAP_CANCEL_DONE;
return LDAP_SUCCESS;
}
ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex ); ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
if ( op->o_abandon ) { if ( op->o_abandon ) {
......
Markdown is supported
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