]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9624 Make sure we reset only for Binds
authorOndřej Kuzník <okuznik@symas.com>
Tue, 3 Aug 2021 11:21:22 +0000 (12:21 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 4 Aug 2021 15:30:36 +0000 (15:30 +0000)
servers/lloadd/operation.c

index 7d127e8d54f7ad656bfdd8e25e60aa05f07d56b2..6004083a7169554ba24460f9623cb508bc95f809 100644 (file)
@@ -276,7 +276,8 @@ operation_unlink_client( LloadOperation *op, LloadConnection *client )
         assert( op == removed );
         client->c_n_ops_executing--;
 
-        if ( client->c_state == LLOAD_C_BINDING ) {
+        if ( op->o_tag == LDAP_REQ_BIND &&
+                client->c_state == LLOAD_C_BINDING ) {
             client->c_state = LLOAD_C_READY;
             if ( !BER_BVISNULL( &client->c_auth ) ) {
                 ber_memfree( client->c_auth.bv_val );