From: Aurelien DARRAGON Date: Wed, 9 Apr 2025 19:40:44 +0000 (+0200) Subject: MINOR: checks: mark CHECKS-FE dummy frontend as internal X-Git-Tag: v3.2-dev10~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5087048b6d2625802e926f3923baa932a285479e;p=thirdparty%2Fhaproxy.git 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. --- 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;