From: Willy Tarreau Date: Thu, 3 Jan 2019 08:20:05 +0000 (+0100) Subject: BUG/MINOR: mux-h2: don't check the CS count in h2c_bck_handle_headers() X-Git-Tag: v2.0-dev1~297 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1fc95f850cb9668e6517ca3755808544e931b9f;p=thirdparty%2Fhaproxy.git BUG/MINOR: mux-h2: don't check the CS count in h2c_bck_handle_headers() This function handles response HEADERS frames, it is not responsible for creating new streams thus it must not check if we've reached the stream count limit, otherwise it could lead to some undesired pauses which bring no benefit. This must be backported to 1.9. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index cbfc8309c0..0c65bbabd6 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -1954,9 +1954,6 @@ static struct h2s *h2c_bck_handle_headers(struct h2c *h2c, struct h2s *h2s) if (b_data(&h2c->dbuf) < h2c->dfl && !b_full(&h2c->dbuf)) return NULL; // incomplete frame - if (h2c->flags & H2_CF_DEM_TOOMANY) - return 0; // too many cs still present - if (h2c->dff & H2_F_HEADERS_END_STREAM) { h2s->flags |= H2_SF_ES_RCVD; h2s->cs->flags |= CS_FL_REOS;