]> git.kaiwu.me - haproxy.git/commit
MINOR: bwlim: Look up the bandwidth filter with the filter helpers
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Oct 2026 16:06:21 +0000 (18:06 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:36 +0000 (16:17 +0200)
commited744bc07b2e92e7343e472f5b8e4d71a9cc5e35
treebabe2ae27f0dc1a540bdddd33c2d467613ef8ef4
parent7290315e4bee93d3fcac6ed3eccc4b80d6efde4a
MINOR: bwlim: Look up the bandwidth filter with the filter helpers

Resolve the set-bandwidth-limit filter with flt_find_conf() and a match
callback on the bandwidth limitation class and the filter name. This works
with both the legacy configurations and the filter instances, and it
fixes the lookup that could return a non-matching bandwidth filter when no
filter matched.
src/flt_bwlim.c