mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02: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
69aa486aa6
commit
78af867ebb
@ -607,7 +607,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 (objt_listener(qc->target) && qel == qc->eel) {
|
||||
/* Next encryption level */
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user