mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
CLOSING is another potential state we could be in
This commit is contained in:
parent
0ad91e0546
commit
d4225924bc
@ -146,7 +146,8 @@ handle_bind_response( Operation *op, BerElement *ber )
|
||||
}
|
||||
}
|
||||
} else {
|
||||
assert( client->c_state == SLAP_C_INVALID );
|
||||
assert( client->c_state == SLAP_C_INVALID ||
|
||||
client->c_state == SLAP_C_CLOSING );
|
||||
}
|
||||
CONNECTION_UNLOCK(client);
|
||||
|
||||
@ -258,7 +259,7 @@ handle_vc_bind_response( Operation *op, BerElement *ber )
|
||||
}
|
||||
}
|
||||
} else {
|
||||
assert( c->c_state == SLAP_C_INVALID );
|
||||
assert( c->c_state == SLAP_C_INVALID || c->c_state == SLAP_C_CLOSING );
|
||||
}
|
||||
CONNECTION_UNLOCK_INCREF(c);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user