]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: h3: set CS_FL_NOT_FIRST
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 14 Feb 2022 16:14:35 +0000 (17:14 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 16:10:51 +0000 (17:10 +0100)
When creating a new conn-stream on H3 HEADERS parsing, the flag
CS_FL_NOT_FIRST must be set. This is identical to the mux-h2.

src/h3.c

index 6616db6aed0d5dbba5a3c0e01b3164cfff0461db..b6df4304541cd15e04a12470f7e4d87033ede277 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -207,6 +207,7 @@ static int h3_decode_qcs(struct qcs *qcs, int fin, void *ctx)
                                htx->flags |= HTX_FL_EOM;
 
                        cs = cs_new(qcs->qcc->conn, qcs->qcc->conn->target);
+                       cs->flags |= CS_FL_NOT_FIRST;
                        cs->ctx = qcs;
                        stream_create_from_cs(cs, &htx_buf);