From d11c5728b4b3af115b07db63f2d965bd1338affa Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Wed, 28 Jul 2021 17:40:56 +0200 Subject: [PATCH] MINOR: mworker: the mworker CLI proxy is internal Sets the mworker CLI proxy as a internal one (PR_CAP_INT) so we could exlude it from stats and other tests. --- src/cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.c b/src/cli.c index b3132191dc..2344eb3932 100644 --- a/src/cli.c +++ b/src/cli.c @@ -2685,7 +2685,7 @@ int mworker_cli_proxy_create() mworker_proxy->id = strdup("MASTER"); mworker_proxy->mode = PR_MODE_CLI; mworker_proxy->last_change = now.tv_sec; - mworker_proxy->cap = PR_CAP_LISTEN; /* this is a listen section */ + mworker_proxy->cap = PR_CAP_LISTEN | PR_CAP_INT; /* this is a listen section */ mworker_proxy->maxconn = 10; /* default to 10 concurrent connections */ mworker_proxy->timeout.client = 0; /* no timeout */ mworker_proxy->conf.file = strdup("MASTER"); -- 2.47.3