From: Frédéric Lécaille Date: Fri, 4 Jun 2021 08:27:23 +0000 (+0200) Subject: MINOR: quic: Do not stop the packet parsing too early in qc_treat_rx_packets() X-Git-Tag: v2.5-dev8~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=654c6917316a1d3ab77a0923d448a95f6d4067aa;p=thirdparty%2Fhaproxy.git MINOR: quic: Do not stop the packet parsing too early in qc_treat_rx_packets() Continue to parse the packets even if we will not be able to acknowledge them. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 074cc601c4..f4b95e7924 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -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);