]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: session: Eval L4/L5 rules defined in the default section
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Jul 2024 13:21:21 +0000 (15:21 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Jul 2024 13:27:04 +0000 (15:27 +0200)
commit076444550583acc11ef7fce7e7e740f039125696
treef408509c11077ed8312aaab33fa6fd9b5adfadfe
parent9302869c95014cf99bd84839cd20b61dcdb21856
BUG/MINOR: session: Eval L4/L5 rules defined in the default section

It is possible to define TCP/HTTP rules in a named default section to
inherit from it in a proxy. However, there is an issue with L4/L5 rules.
Only the lists of the current frontend are checked to know if an eval must
be performed. Nothing is done for an empty list. Of course, the lists of the
default proxy must also be checked to be sure to not ignored default L4/L5
rules. It is now fixed.

This patch should fix the issue #2637. It must be backported as far as 2.6.
src/session.c