]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: make the PROXY TLV validation depend on version 2.2
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 14:36:20 +0000 (16:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 14:37:58 +0000 (16:37 +0200)
commit1d52c7b52bb5e11dee64aff148332b830c93e95a
tree35c04be4cabdf74f56780cb60638ef9487a98176
parent4781fad407f123d8efd656272fe71bdbe31b057f
REGTEST: make the PROXY TLV validation depend on version 2.2

Regtest proxy_protocol_tlv_validation was added by commit 488ee7fb6e
("BUG/MAJOR: proxy_protocol: Properly validate TLV lengths") but it
relies on a trick involving http-after-response to append a header
after a 400-badreq response, which is not possible in earlier versions,
so make it depend on 2.2.
reg-tests/connection/proxy_protocol_tlv_validation.vtc