From: Christopher Faulet Date: Tue, 18 Apr 2023 16:36:43 +0000 (+0200) Subject: CLEANUP: cli: Remove useless debug message in cli_io_handler() X-Git-Tag: v2.8-dev8~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=845f7c4708d793b7ee1af7fac1c2c45a2e4e70c1;p=thirdparty%2Fhaproxy.git CLEANUP: cli: Remove useless debug message in cli_io_handler() When compiled in debug mode, HAProxy prints a debug message at the end of the cli I/O handle. It is pretty annoying and useless because, we can active applet traces. Thus, just remove it. --- diff --git a/src/cli.c b/src/cli.c index 3bbc87d803..43c36cc160 100644 --- a/src/cli.c +++ b/src/cli.c @@ -1176,9 +1176,7 @@ static void cli_io_handler(struct appctx *appctx) } out: - DPRINTF(stderr, "%s@%d: st=%d, rqf=%x, rpf=%x, rqh=%lu, rqs=%lu, rh=%lu, rs=%lu\n", - __FUNCTION__, __LINE__, - sc->state, req->flags, res->flags, ci_data(req), co_data(req), ci_data(res), co_data(res)); + return; } /* This is called when the stream connector is closed. For instance, upon an