mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-16 12:23:15 -04:00
MINOR: quic: As server, skip 0-RTT packet number space
This is true only when we are building packets. A QUIC server never sends 0-RTT packets. So let't skip the associated TLS encryption level.
This commit is contained in:
parent
39fd546d4b
commit
bec186dde5
1 changed files with 4 additions and 1 deletions
|
|
@ -3200,7 +3200,10 @@ struct task *quic_conn_io_cb(struct task *t, void *context, unsigned int state)
|
|||
|
||||
if (!qr)
|
||||
qr = MT_LIST_POP(qc->tx.qring_list, typeof(qr), mt_list);
|
||||
if (!quic_get_tls_enc_levels(&tel, &next_tel, st, zero_rtt))
|
||||
/* A listener does not send any O-RTT packet. O-RTT packet number space must not
|
||||
* be considered.
|
||||
*/
|
||||
if (!quic_get_tls_enc_levels(&tel, &next_tel, st, 0))
|
||||
goto err;
|
||||
ret = qc_prep_pkts(qc, qr, tel, next_tel);
|
||||
if (ret == -1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue