]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: tcp-rules: Eval TCP rules defined in defaults sections
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Oct 2021 13:34:49 +0000 (15:34 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Oct 2021 12:12:19 +0000 (14:12 +0200)
commitc8016d0f581f0daeaf7d6a35ad2b7cf6330aeb8f
treec7fd9712383f10286008bf59625dec11a955d767
parentee08d6cc74daef511ce2f8d7e3f766fb6c9ae385
MEDIUM: tcp-rules: Eval TCP rules defined in defaults sections

TCP rules from defaults section are now evaluated. These rules are evaluated
before those of the proxy. For L7 TCP rules, the same default ruleset cannot
be attached to the frontend and the backend. However, at this stage, we take
care to not execute twice the same ruleset. So, in theory, a frontend and a
backend could use the same defaults section. In this case, the default
ruleset is executed before all others and only once.
src/tcp_rules.c