CLOSING is another potential state we could be in

This commit is contained in:
Ondřej Kuzník 2017-07-10 10:23:39 +01:00 committed by Ondřej Kuzník
parent 0ad91e0546
commit d4225924bc

View File

@ -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);