MINOR: listener: get rid of LI_O_TCP_L4_RULES and LI_O_TCP_L5_RULES
authorWilly Tarreau <w@1wt.eu>
Thu, 12 Jan 2023 19:03:38 +0000 (20:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:20 +0000 (18:00 +0100)
commit4c1d3a953d214e52997cdc9916e0cea4380f4d2e
tree6602f4af12abd5db4f252a0593e0c60d8c1da80e
parent1714680cec6dd2348fcfe73430d6d06d55e9b891
MINOR: listener: get rid of LI_O_TCP_L4_RULES and LI_O_TCP_L5_RULES

LI_O_TCP_L4_RULES and LI_O_TCP_L5_RULES are only set by from the proxy
based on the presence or absence of tcp_req l4/l5 rules. It's basically
as cheap to check the list as it is to check the flag, except that there
is no need to maintain a copy. Let's get rid of them, and this may ease
addition of more dynamic stuff later.
include/haproxy/listener-t.h
src/cfgparse.c
src/session.c