mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
request_abandon RFC4511 conformance
This commit is contained in:
parent
5cbd30ded9
commit
ea83627929
1 changed files with 4 additions and 6 deletions
|
|
@ -39,10 +39,8 @@ request_abandon( Connection *c, Operation *op )
|
|||
"connid=%lu msgid=%d invalid integer sent in abandon request\n",
|
||||
c->c_connid, op->o_client_msgid );
|
||||
|
||||
if ( operation_send_reject_locked( op, LDAP_PROTOCOL_ERROR,
|
||||
"invalid PDU received", 0 ) == LDAP_SUCCESS ) {
|
||||
CONNECTION_DESTROY(c);
|
||||
}
|
||||
operation_destroy_from_client( op );
|
||||
CONNECTION_DESTROY(c);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
@ -221,8 +219,8 @@ handle_one_request( Connection *c )
|
|||
handler = request_bind;
|
||||
break;
|
||||
case LDAP_REQ_ABANDON:
|
||||
/* FIXME: We need to be able to abandon a Bind request, handling
|
||||
* ExOps (esp. Cancel) will be different */
|
||||
/* We can't send a response to abandon requests even if a bind is
|
||||
* currently in progress */
|
||||
handler = request_abandon;
|
||||
break;
|
||||
case LDAP_REQ_EXTENDED:
|
||||
|
|
|
|||
Loading…
Reference in a new issue