From e19334a343f51a05d504df898ded0b1486c3ff2d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 5 Jan 2024 19:17:41 +0100 Subject: [PATCH] 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 :-( --- src/mux_h2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index 309b3ebbe..8c352faa4 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 */