From 1a1dd6066fb3b3ea88969d277c6f5030b5b380ab Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 30 Mar 2018 17:41:19 +0200 Subject: [PATCH] BUG/MINOR: h2: remove accidental debug code introduced with show_fd function Commit e3f36cd ("MINOR: h2: implement a basic "show_fd" function") accidently brought one surrounding debugging part that was in the same context. No backport needed. --- src/mux_h2.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mux_h2.c b/src/mux_h2.c index b822caf98..264b20741 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -3327,11 +3327,6 @@ static int h2_snd_buf(struct conn_stream *cs, struct buffer *buf, int flags) /* stream flow control, quit the list */ LIST_DEL(&h2s->list); LIST_INIT(&h2s->list); - - if (!h2s->cs && LIST_ISEMPTY(&h2s->h2c->send_list) && LIST_ISEMPTY(&h2s->h2c->fctl_list)) { - fprintf(stderr, "%s:%d: removing %p\n", __FUNCTION__, __LINE__, h2s); - } - } return total;