mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02: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
@ -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…
x
Reference in New Issue
Block a user