Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
cfeb4d82
Commit
cfeb4d82
authored
Jul 17, 2017
by
Ondřej Kuzník
Committed by
Ondřej Kuzník
Nov 17, 2020
Browse files
Set binding state after we have dropped all ops
parent
5fcef01d
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/bind.c
View file @
cfeb4d82
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment