mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
QUIC APL: Ensure tick inhibition is not used during blocking
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21484)
This commit is contained in:
parent
5904a0a71f
commit
cae02d2b0a
@ -55,6 +55,12 @@ static int block_until_pred(QUIC_CONNECTION *qc,
|
||||
|
||||
assert(qc->ch != NULL);
|
||||
|
||||
/*
|
||||
* Any attempt to block auto-disables tick inhibition as otherwise we will
|
||||
* hang around forever.
|
||||
*/
|
||||
ossl_quic_channel_set_inhibit_tick(qc->ch, 0);
|
||||
|
||||
rtor = ossl_quic_channel_get_reactor(qc->ch);
|
||||
return ossl_quic_reactor_block_until_pred(rtor, pred, pred_arg, flags,
|
||||
qc->mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user