]> git.kaiwu.me - haproxy.git/commit
REGTESTS: http-rules: cover the rfc7239_nn and rfc7239_np converters
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2026 19:46:38 +0000 (19:46 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 15:25:37 +0000 (17:25 +0200)
commit8a1e85ed94370b70e00491493f025ec1ebb47055
tree6a59ade212e4fe513a12f06cf02010f95ae8f270
parent326f072fbf8d7d52d21b5503c4eb936f21fa2139
REGTESTS: http-rules: cover the rfc7239_nn and rfc7239_np converters

The test already covers rfc7239_field, rfc7239_is_valid, rfc7239_n2nn
and rfc7239_n2np, and the two converters which build a node name and a
node port were the only ones of the family left out. They are added to
the backend which already extracts the node of a "for" field, with one
IPv4, one IPv6, one string and one integer input, which covers both
branches of each: an address or a number is emitted as it is, an IPv6
is bracketed and a string becomes an obfuscated identifier prefixed
with an underscore.
reg-tests/http-rules/forwarded-header-7239.vtc