]> git.kaiwu.me - haproxy.git/commit
MINOR: http: support default hardening names "untrusted" and "trusted"
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Oct 2026 19:41:09 +0000 (20:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 21:45:32 +0000 (22:45 +0100)
commit8278824b7d8e4ca6977ed93472762b7bd27bba98
tree9380d72dfe474355f65d9278c2bee00fb2795870
parentfa70a47cb6f2e3a93c597df2efe9fa6c5fbb70f3
MINOR: http: support default hardening names "untrusted" and "trusted"

And also reserve "auto" for future use. Both "untrusted" and "trusted"
have a global storage and are available all the time. They're just not
registered in the tree by default so that we'll find them once missed
in the tree lookup. If a section with these names is created, it
inherits their settings. This will allow new default settings to
change over time, with minimal maintenance effort for the users.

They are preset to the default permissive rules.
include/haproxy/http-t.h
include/haproxy/http.h
src/http.c