]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-h2: remove the printfs from previous commit on h2 streams limit.
authorWilly Tarreau <w@1wt.eu>
Fri, 5 Jan 2024 18:17:41 +0000 (19:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Jan 2024 18:19:10 +0000 (19:19 +0100)
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

index 309b3ebbea0df6caf7592f43a0c5645df41550f9..8c352faa42100b9cc4d4b8a67319451b829404e9 100644 (file)
@@ -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 */