From 845f7c4708d793b7ee1af7fac1c2c45a2e4e70c1 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 18 Apr 2023 18:36:43 +0200 Subject: [PATCH] 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. --- src/cli.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cli.c b/src/cli.c index 3bbc87d80..43c36cc16 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