From: Willy Tarreau Date: Fri, 5 Jan 2024 18:17:41 +0000 (+0100) Subject: CLEANUP: mux-h2: remove the printfs from previous commit on h2 streams limit. X-Git-Tag: v3.0-dev1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19334a343f51a05d504df898ded0b1486c3ff2d;p=thirdparty%2Fhaproxy.git CLEANUP: mux-h2: remove the printfs from previous commit on h2 streams limit. After thinking about them all the time at the end, I managed to remove them while editing the commit and to forget to push them :-( --- diff --git a/src/mux_h2.c b/src/mux_h2.c index 309b3ebbea..8c352faa42 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -2805,7 +2805,6 @@ static struct h2s *h2c_frt_handle_headers(struct h2c *h2c, struct h2s *h2s) sess_log(h2c->conn->owner); session_inc_http_req_ctr(h2c->conn->owner); session_inc_http_err_ctr(h2c->conn->owner); - printf("Oops, forcefully killing the extraneous stream: last_sid=%d max_id=%d strms=%u\n", h2c->last_sid, h2c->max_id, h2c->stream_cnt); goto conn_err; } @@ -2913,8 +2912,6 @@ static struct h2s *h2c_frt_handle_headers(struct h2c *h2c, struct h2s *h2s) * so we apply twice the concurrent streams value to the current * ID. */ - printf("last_sid=%d max_id=%d strms=%u\n", h2c->last_sid, h2c->max_id, h2c->stream_cnt); - if (h2c->last_sid <= 0 || h2c->last_sid > h2c->max_id + 2 * h2c_max_concurrent_streams(h2c)) { /* not set yet or was too high */