mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Set binding state after we have dropped all ops
This commit is contained in:
parent
5fcef01d62
commit
cfeb4d82a3
1 changed files with 3 additions and 2 deletions
|
|
@ -310,11 +310,12 @@ client_bind( Connection *client, Operation *op )
|
|||
/* protect the Bind operation */
|
||||
op->o_client_refcnt++;
|
||||
tavl_delete( &client->c_ops, op, operation_client_cmp );
|
||||
client->c_state = SLAP_C_BINDING;
|
||||
client->c_type = SLAP_C_OPEN;
|
||||
|
||||
client_reset( client );
|
||||
|
||||
client->c_state = SLAP_C_BINDING;
|
||||
client->c_type = SLAP_C_OPEN;
|
||||
|
||||
rc = tavl_insert( &client->c_ops, op, operation_client_cmp, avl_dup_error );
|
||||
assert( rc == LDAP_SUCCESS );
|
||||
CONNECTION_UNLOCK_INCREF(client);
|
||||
|
|
|
|||
Loading…
Reference in a new issue