mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-20 22:01:49 -04:00
MINOR: server: define non purgeable server flag
Define a flag to mark a server as non purgeable. This flag will be used for "delete server" CLI handler. All servers without this flag will be eligible to runtime suppression.
This commit is contained in:
parent
bc2ebfa5a4
commit
5cca48cba2
1 changed files with 1 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ enum srv_initaddr {
|
|||
#define SRV_F_SOCKS4_PROXY 0x0400 /* this server uses SOCKS4 proxy */
|
||||
#define SRV_F_NO_RESOLUTION 0x0800 /* disable runtime DNS resolution on this server */
|
||||
#define SRV_F_DYNAMIC 0x1000 /* dynamic server instantiated at runtime */
|
||||
#define SRV_F_NON_PURGEABLE 0x2000 /* this server cannot be removed at runtime */
|
||||
|
||||
/* configured server options for send-proxy (server->pp_opts) */
|
||||
#define SRV_PP_V1 0x0001 /* proxy protocol version 1 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue