mirror of
https://github.com/openssl/openssl.git
synced 2025-03-01 19:28:10 +08:00
QUIC TXP: Generate forced PINGs correctly
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21458)
This commit is contained in:
parent
c206f2aa62
commit
1e2e683aa2
@ -2605,7 +2605,9 @@ static int txp_generate_for_el(OSSL_QUIC_TX_PACKETISER *txp,
|
||||
/* PING */
|
||||
tx_helper_unrestrict(h);
|
||||
|
||||
if (a.require_ack_eliciting && !have_ack_eliciting && a.allow_ping) {
|
||||
if ((a.require_ack_eliciting
|
||||
|| (txp->force_ack_eliciting & (1UL << pn_space)) != 0)
|
||||
&& !have_ack_eliciting && a.allow_ping) {
|
||||
WPACKET *wpkt;
|
||||
|
||||
wpkt = tx_helper_begin(h);
|
||||
|
Loading…
Reference in New Issue
Block a user