From: Frédéric Lécaille Date: Fri, 17 Sep 2021 15:12:56 +0000 (+0200) Subject: MINOR: quic: Wrong packet loss detection due to wrong pktns order X-Git-Tag: v2.5-dev8~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7d549c9b0c6463b92c495d9098a5fd4afc9b516;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/quic_tls-t.h b/include/haproxy/quic_tls-t.h index 4a793e2631..8c11a2d30f 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, };