]> git.kaiwu.me - haproxy.git/commit
MINOR: filters: Add a function to remove a filter conf from all proxy lists
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Oct 2026 09:47:21 +0000 (10:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 Oct 2026 12:30:22 +0000 (13:30 +0100)
commitb835990ad9b222456da71d3f33f6615f24710be4
treeee42f70bcc9843e8c2346474714b5ffa99d81fda
parent8096423cf4d99a7a955af02cd4cdd4094383e704
MINOR: filters: Add a function to remove a filter conf from all proxy lists

A legacy filter configuration is linked in three lists of its proxy: the
global order with the 'list' member and the request and response orders
with the 'by_req' and 'by_res' members. Removing such a configuration
meant unlinking the three members by hand, in every filter supporting an
implicit declaration replaced by an explicit one.

The new flt_conf_delete() helper does it at once, as the counterpart of
flt_conf_add() and flt_conf_insert(). It will be used by the filters
parsing an explicit declaration that replaces an implicit one.
include/haproxy/filters.h