]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: cli: Remove useless debug message in cli_io_handler()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Apr 2023 16:36:43 +0000 (18:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Apr 2023 16:57:04 +0000 (18:57 +0200)
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

index 3bbc87d8037a801446edf911f948ef9f231e9e6b..43c36cc16033d1ada22de0ed45f346a3b1a46c94 100644 (file)
--- 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