]> git.kaiwu.me - haproxy.git/commit
MINOR: filters: Add per-proxy filter instance storage and lookup
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Sep 2026 16:10:21 +0000 (18:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Oct 2026 14:17:35 +0000 (16:17 +0200)
commit0fe608c13f4e9f8029b1eb7eecbf98acff65959f
treedbfca4d01e6d0a4770aec71ba00b154fad641b66
parent65613f07d62423564e08ce5be1ba70c9a9fc1723
MINOR: filters: Add per-proxy filter instance storage and lookup

Prepare a instance model separate from the instantiated legacy filter
configurations. Keep raw arguments and source locations, and anchor each
instance in the class references for the sides on which its class exists.
Per-side flat lists will hold the finalized order later.

Create class references when setting up non-internal proxies, following the
global class order. Add instance traversal and lookup helpers, plus cleanup
for both the class-reference trees and flat lists on proxy destruction.
Prepare per-side links in flt_conf for the later runtime integration.

No configuration directive creates instances yet, and stream attachment
remains unchanged.
include/haproxy/filters-t.h
include/haproxy/filters.h
include/haproxy/proxy-t.h
src/filters.c
src/proxy.c