]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MEDIUM: quic: qc_prep_app_pkts() retries on qc_build_pkt() failures
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 10 Mar 2022 16:06:59 +0000 (17:06 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 11 Mar 2022 10:37:31 +0000 (11:37 +0100)
The "stop_build" label aim is to try to reuse the TX buffer when there is not
enough contiguous room to build a packet. It was defined but not used!

src/xprt_quic.c

index 5bf1b2a05ee2d27d1e2bdaf6fc5b3b4f90766958..9b2e38c55b1928c1fe29c9814bb8b316f9eba07e 100644 (file)
@@ -2527,7 +2527,7 @@ static int qc_prep_app_pkts(struct quic_conn *qc, struct qring *qr,
                case -2:
                        goto err;
                case -1:
-                       goto out;
+                       goto stop_build;
                default:
                        break;
                }