mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#6138 don't allow redundant abandon/cancel ops
This commit is contained in:
parent
bc29154c62
commit
d3bd4aa76d
2 changed files with 0 additions and 7 deletions
|
|
@ -102,10 +102,8 @@ do_abandon( Operation *op, SlapReply *rs )
|
|||
|| o->o_tag == LDAP_REQ_ABANDON ) {
|
||||
msg = "cannot be abandoned";
|
||||
|
||||
#if 0 /* Would break o_abandon used as "suppress response" flag, ITS#6138 */
|
||||
} else if ( o->o_abandon ) {
|
||||
msg = "already being abandoned";
|
||||
#endif
|
||||
|
||||
} else {
|
||||
msg = "found";
|
||||
|
|
|
|||
|
|
@ -113,13 +113,8 @@ int cancel_extop( Operation *op, SlapReply *rs )
|
|||
rc = LDAP_OPERATIONS_ERROR;
|
||||
rs->sr_text = "message ID already being cancelled";
|
||||
|
||||
#if 0
|
||||
} else if ( o->o_abandon ) {
|
||||
/* TODO: Would this break something when
|
||||
* o_abandon="suppress response"? (ITS#6138)
|
||||
*/
|
||||
rc = LDAP_TOO_LATE;
|
||||
#endif
|
||||
|
||||
} else {
|
||||
rc = LDAP_SUCCESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue