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.
This commit is contained in:
Willy Tarreau 2020-03-31 16:36:20 +02:00
parent 4781fad407
commit 1d52c7b52b
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
varnishtest "Check that the TLVs are properly validated"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro
# We need one HAProxy for each test, because apparently the connection by