mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
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.
This commit is contained in:
parent
e1cec655ee
commit
5087048b6d
@ -1673,7 +1673,7 @@ static int start_checks()
|
|||||||
ha_alert("Out of memory creating the checks frontend.\n");
|
ha_alert("Out of memory creating the checks frontend.\n");
|
||||||
return ERR_ALERT | ERR_FATAL;
|
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.mode = PR_MODE_TCP;
|
||||||
checks_fe.maxconn = 0;
|
checks_fe.maxconn = 0;
|
||||||
checks_fe.conn_retries = CONN_RETRIES;
|
checks_fe.conn_retries = CONN_RETRIES;
|
||||||
|
Loading…
Reference in New Issue
Block a user