mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-12 06:24:56 +00:00
[BUG] fix overlapping server flags
Server flags SRV_GOINGDOWN, SRV_WARMINGUP were overlapping SRV_TPROXY_*.
This commit is contained in:
parent
786d1915b0
commit
c297b52df5
@ -43,11 +43,11 @@
|
|||||||
#define SRV_CHECKED 0x0010 /* this server needs to be checked */
|
#define SRV_CHECKED 0x0010 /* this server needs to be checked */
|
||||||
#define SRV_GOINGDOWN 0x0020 /* this server says that it's going down (404) */
|
#define SRV_GOINGDOWN 0x0020 /* this server says that it's going down (404) */
|
||||||
#define SRV_WARMINGUP 0x0040 /* this server is warming up after a failure */
|
#define SRV_WARMINGUP 0x0040 /* this server is warming up after a failure */
|
||||||
|
/* unused: 0x0080 */
|
||||||
#define SRV_TPROXY_ADDR 0x0020 /* bind to this non-local address to reach this server */
|
#define SRV_TPROXY_ADDR 0x0100 /* bind to this non-local address to reach this server */
|
||||||
#define SRV_TPROXY_CIP 0x0040 /* bind to the client's IP address to reach this server */
|
#define SRV_TPROXY_CIP 0x0200 /* bind to the client's IP address to reach this server */
|
||||||
#define SRV_TPROXY_CLI 0x0060 /* bind to the client's IP+port to reach this server */
|
#define SRV_TPROXY_CLI 0x0300 /* bind to the client's IP+port to reach this server */
|
||||||
#define SRV_TPROXY_MASK 0x0060 /* bind to a non-local address to reach this server */
|
#define SRV_TPROXY_MASK 0x0300 /* bind to a non-local address to reach this server */
|
||||||
|
|
||||||
/* function which act on servers need to return various errors */
|
/* function which act on servers need to return various errors */
|
||||||
#define SRV_STATUS_OK 0 /* everything is OK. */
|
#define SRV_STATUS_OK 0 /* everything is OK. */
|
||||||
|
Loading…
Reference in New Issue
Block a user