]> git.kaiwu.me - haproxy.git/commit
MINOR: cfgparse/http: add a simple parser for new section "http-fingerprint"
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Oct 2026 16:43:22 +0000 (17:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 21:45:32 +0000 (22:45 +0100)
commitfa70a47cb6f2e3a93c597df2efe9fa6c5fbb70f3
treed8c09aa9754f09823af269f4f06fe9e5d8e803a6
parentcd8f136da1fc0dc4cf7d537a65b55fc22255719d
MINOR: cfgparse/http: add a simple parser for new section "http-fingerprint"

Just like the resolvers parser, this is a whole section parser. It handles
both the http-fingerprint keyword that creates the section, and all
registered hardening options supported there. The format is:

    http-fingerprint <name> [from <origin>]
         <option> [on|off]
         ...

A section may only be declared once, and the origin must already exist if
mentioned (like with defaults). Like with http-violations, keywords are
resolved using fuzzy matching so that an approaching name will suggest
the correct one.

For now, no keywords beyond "all" are declared, and nothing is done with
these sections.
src/http.c