From d7d549c9b0c6463b92c495d9098a5fd4afc9b516 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 17 Sep 2021 17:12:56 +0200 Subject: [PATCH] MINOR: quic: Wrong packet loss detection due to wrong pktns order During the packet loss detection we must treat the paquet number in this order Initial -> Handshake -> O1RTT. This was not the case due to the chosen order to implement the array of packet number space which was there before the packet loss detection implementation. --- include/haproxy/quic_tls-t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/quic_tls-t.h b/include/haproxy/quic_tls-t.h index 4a793e263..8c11a2d30 100644 --- a/include/haproxy/quic_tls-t.h +++ b/include/haproxy/quic_tls-t.h @@ -70,8 +70,8 @@ enum quic_tls_enc_level { /* QUIC packet number spaces */ enum quic_tls_pktns { QUIC_TLS_PKTNS_INITIAL, - QUIC_TLS_PKTNS_01RTT, QUIC_TLS_PKTNS_HANDSHAKE, + QUIC_TLS_PKTNS_01RTT, /* Please do not insert any value after this following one */ QUIC_TLS_PKTNS_MAX, }; -- 2.47.3