MINOR: quic: Trace fix in quic_pto_pktns() (handshaske status)
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 7 Apr 2023 13:39:17 +0000 (15:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 11 Apr 2023 08:47:19 +0000 (10:47 +0200)
The handshake must be confirmed before probing the 01RTT packet number space.

Must be backported to 2.7 and 2.6.

src/quic_loss.c

index bb518ca..888b61d 100644 (file)
@@ -118,7 +118,7 @@ struct quic_pktns *quic_pto_pktns(struct quic_conn *qc,
 
                if (i == QUIC_TLS_PKTNS_01RTT) {
                        if (!handshake_confirmed) {
-                               TRACE_STATE("TX PTO handshake not already completed", QUIC_EV_CONN_SPTO, qc);
+                               TRACE_STATE("TX PTO handshake not already confirmed", QUIC_EV_CONN_SPTO, qc);
                                pktns = p;
                                goto out;
                        }