]> git.kaiwu.me - haproxy.git/commit
REGTESTS: http-messaging: test the http-hardening checks on HTTP/2 headers
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 17:08:51 +0000 (18:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Nov 2026 21:45:33 +0000 (22:45 +0100)
commit0312f6dcde210a03f9bbf52d38a2c129147cb705
tree43c83f265ad93b51379fa0ffed141639df1acf64
parent10598e5b049b58a22be1c2f2df67a42e52d076b8
REGTESTS: http-messaging: test the http-hardening checks on HTTP/2 headers

This is an LLM-generated reg-test covering HTTP/2 hardening checks.

This is the HTTP/2 counterpart of http_hardening_h1.vtc for the checks that
apply to HTTP/2 (folding and Transfer-Encoding cannot appear there). A
rejected request must cause a stream error, except for an invalid method
which results in a 400 like other method errors, and a rejected response a
502. It also checks that a Host header accompanying an identical :authority
is not considered as a duplicate Host header.
reg-tests/http-messaging/http_hardening_h2.vtc [new file with mode: 0644]