From 5087048b6d2625802e926f3923baa932a285479e Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Wed, 9 Apr 2025 21:40:44 +0200 Subject: [PATCH] MINOR: checks: mark CHECKS-FE dummy frontend as internal CHECKS-FE frontend is a dummy frontend used to create checks sessions as such, it is internal and should not be exposed to the user. Better mark it as internal using PR_CAP_INT capability to prevent proxy API from ever exposing it. --- src/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check.c b/src/check.c index 9e615ea9d..22e0278e9 100644 --- a/src/check.c +++ b/src/check.c @@ -1673,7 +1673,7 @@ static int start_checks() ha_alert("Out of memory creating the checks frontend.\n"); return ERR_ALERT | ERR_FATAL; } - checks_fe.cap = PR_CAP_FE | PR_CAP_BE; + checks_fe.cap = PR_CAP_FE | PR_CAP_BE | PR_CAP_INT; checks_fe.mode = PR_MODE_TCP; checks_fe.maxconn = 0; checks_fe.conn_retries = CONN_RETRIES; -- 2.47.2