mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-25 04:17:42 +00:00
BUG/MEDIUM: servers: Don't use the same srv flag for cookie-set and TFO.
The tfo code was based on an old patch, and the value of the SRV_F_FASTOPEN flag it used was since reused for SRV_F_COOKIESET. So give SRV_F_FASTOPEN its own value.
This commit is contained in:
parent
d8db4e6dba
commit
92e38e254b
@ -143,7 +143,7 @@ enum srv_initaddr {
|
||||
#define SRV_F_CHECKPORT 0x0040 /* this server has a check port configured */
|
||||
#define SRV_F_AGENTADDR 0x0080 /* this server has a agent addr configured */
|
||||
#define SRV_F_COOKIESET 0x0100 /* this server has a cookie configured, so don't generate dynamic cookies */
|
||||
#define SRV_F_FASTOPEN 0x0100 /* Use TCP Fast Open to connect to server */
|
||||
#define SRV_F_FASTOPEN 0x0200 /* Use TCP Fast Open to connect to server */
|
||||
|
||||
/* configured server options for send-proxy (server->pp_opts) */
|
||||
#define SRV_PP_V1 0x0001 /* proxy protocol version 1 */
|
||||
|
Loading…
Reference in New Issue
Block a user