]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Do not stop the packet parsing too early in qc_treat_rx_packets()
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 4 Jun 2021 08:27:23 +0000 (10:27 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
Continue to parse the packets even if we will not be able to acknowledge them.

src/xprt_quic.c

index 074cc601c422587a4bc9d833cc160822791b5651..f4b95e79248b0909c619aeb11adfbb15f975a576 100644 (file)
@@ -2487,14 +2487,9 @@ int qc_treat_rx_pkts(struct quic_enc_level *el, struct quic_conn_ctx *ctx)
                                        el->pktns->rx.largest_pn = pkt->pn;
 
                                /* Update the list of ranges to acknowledge. */
-                               if (!quic_update_ack_ranges_list(&el->pktns->rx.arngs, &ar)) {
+                               if (!quic_update_ack_ranges_list(&el->pktns->rx.arngs, &ar))
                                        TRACE_DEVEL("Could not update ack range list",
                                                    QUIC_EV_CONN_ELRXPKTS, ctx->conn);
-                                       node = eb64_next(node);
-                                       quic_rx_packet_eb64_delete(&pkt->pn_node);
-                                       goto err;
-                               }
-
                        }
                }
                node = eb64_next(node);