mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
CLOSING is another potential state we could be in
This commit is contained in:
parent
0ad91e0546
commit
d4225924bc
1 changed files with 3 additions and 2 deletions
|
|
@ -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 a new issue