mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-02 08:11:29 +01:00
MINOR: quic-be: allow the preparation of 0-RTT packets
A QUIC server never sends 0-RTT packets contrary to the client. This very simple modification allow the the preparation of 0-RTT packets with early data as encryption level (->eel).
This commit is contained in:
parent
6e14365a5b
commit
ac1d3eba88
@ -626,7 +626,7 @@ static int qc_prep_pkts(struct quic_conn *qc, struct buffer *buf,
|
||||
struct quic_enc_level *next_qel;
|
||||
int probe, must_ack;
|
||||
|
||||
if (qel == qc->eel) {
|
||||
if (!qc_is_back(qc) && qel == qc->eel) {
|
||||
/* Next encryption level */
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user