From: Willy Tarreau Date: Fri, 30 Mar 2018 15:41:19 +0000 (+0200) Subject: BUG/MINOR: h2: remove accidental debug code introduced with show_fd function X-Git-Tag: v1.9-dev1~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a1dd6066fb3b3ea88969d277c6f5030b5b380ab;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index b822caf983..264b207410 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;