From: Willy Tarreau Date: Thu, 13 Mar 2025 16:28:12 +0000 (+0100) Subject: MINOR: cli: export cli_io_handler() to ease symbol resolution X-Git-Tag: v3.2-dev8~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e99efccef21394f0b5e5940001aaee8b3cd6b4b;p=thirdparty%2Fhaproxy.git MINOR: cli: export cli_io_handler() to ease symbol resolution It's common to meet this function in backtraces, it's a bit annoying that it's not resolved, so let's export it so that it becomes resolvable. --- diff --git a/src/cli.c b/src/cli.c index e7a33f57d..7bbfa3a82 100644 --- a/src/cli.c +++ b/src/cli.c @@ -1059,7 +1059,7 @@ size_t cli_snd_buf(struct appctx *appctx, struct buffer *buf, size_t count, unsi * CLI_ST_* constants. appctx->st1 is used to indicate whether prompt is enabled * or not. */ -static void cli_io_handler(struct appctx *appctx) +void cli_io_handler(struct appctx *appctx) { if (applet_fl_test(appctx, APPCTX_FL_OUTBLK_ALLOC|APPCTX_FL_OUTBLK_FULL)) goto out;