Add a Connection pointer to the Operation.

This commit is contained in:
Kurt Zeilenga 2002-08-26 19:29:34 +00:00
parent 48593e1484
commit 1c5725010e
2 changed files with 3 additions and 2 deletions

View file

@ -1424,10 +1424,9 @@ connection_input(
op = slap_op_alloc( ber, msgid, tag, conn->c_n_ops_received++ );
op->o_conn = conn;
op->vrFilter = NULL;
op->o_pagedresults_state = conn->c_pagedresults_state;
#ifdef LDAP_CONNECTIONLESS
op->o_peeraddr = peeraddr;
if (cdn) {
@ -1435,6 +1434,7 @@ connection_input(
op->o_protocol = LDAP_VERSION2;
}
#endif
if ( conn->c_conn_state == SLAP_C_BINDING
|| conn->c_conn_state == SLAP_C_CLOSING )
{

View file

@ -1508,6 +1508,7 @@ typedef struct slap_paged_state {
typedef struct slap_op {
unsigned long o_opid; /* id of this operation */
unsigned long o_connid; /* id of conn initiating this op */
struct slap_conn *o_conn; /* connection spawning this op */
ber_int_t o_msgid; /* msgid of the request */
ber_int_t o_protocol; /* version of the LDAP protocol used by client */