1
0
mirror of http://git.haproxy.org/git/haproxy.git/ synced 2025-03-03 01:49:24 +00:00

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 :-(
This commit is contained in:
Willy Tarreau 2024-01-05 19:17:41 +01:00
parent 983ac4397d
commit e19334a343

View 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 */