REGTEST: Add option to use HTX prefixed by the macro 'no-htx'
So some tests have been removed.
diff --git a/reg-tests/connection/b00000.vtc b/reg-tests/connection/b00000.vtc
index 50bb749..674cadd 100644
--- a/reg-tests/connection/b00000.vtc
+++ b/reg-tests/connection/b00000.vtc
@@ -16,7 +16,7 @@
recv
expect ~ "Connect from .* to ${h1_ssl_addr}:${h1_ssl_port}"
recv
- expect ~ "ssl-offload-http/http .* \"POST /[1-8] HTTP/1\\.1\""
+ expect ~ "ssl-offload-http/http .* \"POST /[1-8] HTTP/(2\\.0|1\\.1)\""
} -start
haproxy h1 -conf {
@@ -29,6 +29,7 @@
defaults
mode http
+ ${no-htx} option http-use-htx
timeout client 1s
timeout server 1s
timeout connect 1s
diff --git a/reg-tests/connection/h00001.vtc b/reg-tests/connection/h00001.vtc
index fccd6ec..bac19d8 100644
--- a/reg-tests/connection/h00001.vtc
+++ b/reg-tests/connection/h00001.vtc
@@ -26,6 +26,7 @@
listen fe_http
bind "fd@${fe_http}"
mode http
+ ${no-htx} option http-use-htx
dispatch ${s2_addr}:${s2_port}
} -start