MINOR: proxy: add a new capability PR_CAP_DEF

In order to more easily distinguish a default proxy from a standard one,
let's introduce a new capability PR_CAP_DEF.
This commit is contained in:
Willy Tarreau
2021-02-12 09:43:33 +01:00
parent 7d0c143185
commit 80dc6fea59
3 changed files with 11 additions and 4 deletions

View File

@@ -66,6 +66,7 @@ enum PR_SRV_STATE_FILE {
#define PR_CAP_FE 0x0001
#define PR_CAP_BE 0x0002
#define PR_CAP_LISTEN (PR_CAP_FE|PR_CAP_BE)
#define PR_CAP_DEF 0x0004 /* defaults section */
/* bits for proxy->options */
#define PR_O_REDISP 0x00000001 /* allow reconnection to dispatch in case of errors */