]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Wrong packet loss detection due to wrong pktns order
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 17 Sep 2021 15:12:56 +0000 (17:12 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
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

index 4a793e2631d7576762d6d23e2d57d6fc49cc537b..8c11a2d30f87089a0f97119216557c10a5b80852 100644 (file)
@@ -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,
 };