CLEANUP: reg-tests: Remove obsolete no-htx parameter for reg-tests
authorTim Duesterhus <tim@bastelstu.be>
Mon, 31 May 2021 21:07:29 +0000 (23:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Jun 2021 13:41:21 +0000 (15:41 +0200)
The legacy HTTP subsystem has been removed. HTX is always enabled.

71 files changed:
reg-tests/README
reg-tests/cache/basic.vtc
reg-tests/cache/caching_rules.vtc
reg-tests/cache/expires.vtc
reg-tests/cache/if-modified-since.vtc
reg-tests/cache/if-none-match.vtc
reg-tests/cache/post_on_entry.vtc
reg-tests/cache/sample_fetches.vtc
reg-tests/cache/vary.vtc
reg-tests/cache/vary_accept_encoding.vtc
reg-tests/compression/basic.vtc
reg-tests/compression/etags_conversion.vtc
reg-tests/compression/lua_validation.vtc
reg-tests/compression/vary.vtc
reg-tests/connection/dispatch.vtc
reg-tests/connection/proxy_protocol_random_fail.vtc
reg-tests/filters/random-forwarding.vtc
reg-tests/http-capture/multiple_headers.vtc
reg-tests/http-cookies/cookie_insert_indirect.vtc
reg-tests/http-messaging/h1_to_h1.vtc
reg-tests/http-messaging/h2_to_h1.vtc
reg-tests/http-messaging/http_abortonclose.vtc
reg-tests/http-messaging/http_bodyless_response.vtc
reg-tests/http-messaging/http_request_buffer.vtc
reg-tests/http-messaging/http_wait_for_body.vtc
reg-tests/http-messaging/protocol_upgrade.vtc
reg-tests/http-messaging/websocket.vtc
reg-tests/http-rules/acl_cli_spaces.vtc
reg-tests/http-rules/converters_ipmask_concat_strcmp_field_word.vtc
reg-tests/http-rules/h1or2_to_h1c.vtc
reg-tests/http-rules/map_redirect.vtc
reg-tests/http-rules/map_regm_with_backref.vtc
reg-tests/lua/bad_http_clt_req_duration.vtc
reg-tests/lua/close_wait_lf.vtc
reg-tests/lua/h_txn_get_priv.vtc
reg-tests/lua/lua_socket.vtc
reg-tests/lua/set_var.vtc
reg-tests/lua/txn_get_priv-thread.vtc
reg-tests/lua/txn_get_priv.vtc
reg-tests/lua/wrong_types_usage.vtc
reg-tests/mcli/mcli_show_info.vtc
reg-tests/mcli/mcli_start_progs.vtc
reg-tests/seamless-reload/abns_socket.vtc
reg-tests/server/cli_add_server.vtc
reg-tests/server/cli_delete_server.vtc
reg-tests/server/cli_set_fdqn.vtc
reg-tests/server/cli_set_ssl.vtc
reg-tests/ssl/add_ssl_crt-list.vtc
reg-tests/ssl/del_ssl_crt-list.vtc
reg-tests/ssl/new_del_ssl_cafile.vtc
reg-tests/ssl/new_del_ssl_crlfile.vtc
reg-tests/ssl/set_ssl_cafile.vtc
reg-tests/ssl/set_ssl_cert.vtc
reg-tests/ssl/set_ssl_cert_bundle.vtc
reg-tests/ssl/set_ssl_cert_noext.vtc
reg-tests/ssl/set_ssl_crlfile.vtc
reg-tests/ssl/set_ssl_server_cert.vtc
reg-tests/ssl/ssl_client_auth.vtc
reg-tests/ssl/ssl_client_samples.vtc
reg-tests/ssl/ssl_crt-list_filters.vtc
reg-tests/ssl/ssl_frontend_samples.vtc
reg-tests/ssl/ssl_server_samples.vtc
reg-tests/ssl/ssl_simple_crt-list.vtc
reg-tests/ssl/wrong_ctx_storage.vtc
reg-tests/stick-table/converteers_ref_cnt_never_dec.vtc
reg-tests/stick-table/src_conn_rate.vtc
reg-tests/stick-table/unknown_key.vtc
reg-tests/stickiness/lb-services.vtc
reg-tests/stickiness/srvkey-addr.vtc
reg-tests/webstats/webstats-scope-and-post-change.vtc
scripts/run-regtests.sh

index d05a2a8..6993d97 100644 (file)
@@ -38,7 +38,7 @@ See also: doc/regression-testing.txt
   You must set HAPROXY_PROGRAM environment variable to give the location
   of the HAProxy program to test to vtest:
 
-    $ HAPROXY_PROGRAM=<my haproxy program> vtest [-Dno-htx=] ...
+    $ HAPROXY_PROGRAM=<my haproxy program> vtest ...
 
   The HAProxy VTC files found in HAProxy sources may be run with the reg-tests
   Makefile target. You must set the VTEST_PROGRAM environment variable to
index 849057d..30f4631 100644 (file)
@@ -27,7 +27,6 @@ server s1 {
 haproxy h1 -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 114b2fd..c65bc4b 100644 (file)
@@ -86,7 +86,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 037f09f..309c4ae 100644 (file)
@@ -48,7 +48,6 @@ haproxy h1 -conf {
 
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index 8ae1cce..d3c9b70 100644 (file)
@@ -48,7 +48,6 @@ haproxy h1 -conf {
 
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index ba3336a..bb5b9b5 100644 (file)
@@ -33,7 +33,6 @@ haproxy h1 -conf {
 
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index db6414e..b24cfd6 100644 (file)
@@ -25,7 +25,6 @@ server s1 {
 haproxy h1 -conf {
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index 973b3ad..add6366 100644 (file)
@@ -52,7 +52,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 0b5d139..61d7af6 100644 (file)
@@ -135,7 +135,6 @@ haproxy h1 -conf {
 
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index 852ac29..748c310 100644 (file)
@@ -100,7 +100,6 @@ haproxy h1 -conf {
 
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index 6154e66..1df2293 100644 (file)
@@ -180,7 +180,6 @@ server s1 {
 haproxy h1 -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 48e7955..901a5ef 100644 (file)
@@ -114,7 +114,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index af234b3..d001c2d 100644 (file)
@@ -15,7 +15,6 @@ global
 defaults
        mode                    http
        log                     global
-       ${no-htx} option http-use-htx
        option                  httplog
 
 frontend main-https
index a905f9c..ec6341b 100644 (file)
@@ -69,7 +69,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index bac19d8..fccd6ec 100644 (file)
@@ -26,7 +26,6 @@ listen fe_tcp
 listen fe_http
     bind "fd@${fe_http}"
     mode http
-    ${no-htx} option http-use-htx
     dispatch ${s2_addr}:${s2_port}
 } -start
 
index 9838577..135908e 100644 (file)
@@ -31,7 +31,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout client 1s
         timeout server 1s
         timeout connect 1s
index 2982c88..07dd2b8 100644 (file)
@@ -42,7 +42,6 @@ server s1 {
 haproxy h1 -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 378838e..f16b37e 100644 (file)
@@ -41,7 +41,6 @@ server s {
 haproxy h -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout client 1s
         timeout server 1s
         timeout connect 1s
index f1afe9e..3c4a06a 100644 (file)
@@ -27,7 +27,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
                option httplog
         timeout client 1s
         timeout server 1s
index c7d0085..4a442c7 100644 (file)
@@ -123,7 +123,6 @@ haproxy h1 -conf {
 
     defaults
        mode http
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
index 0d2b1e5..a5e5657 100644 (file)
@@ -44,7 +44,6 @@ haproxy h1 -conf {
        #log stdout format raw daemon
        mode http
        option http-buffer-request
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
index 11efef7..49cdaea 100644 (file)
@@ -54,7 +54,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         option abortonclose
         retries 3
         timeout client  10s
index 6f36545..2df824b 100644 (file)
@@ -38,7 +38,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 5542e26..1ac04c7 100644 (file)
@@ -25,7 +25,6 @@ syslog S -level info {
 haproxy h1 -conf {
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout client  100ms
                timeout server  1s
                timeout connect 1s
index 1313c9b..be1ca5b 100644 (file)
@@ -72,7 +72,6 @@ server s2 {
 haproxy h1 -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout client  1s
         timeout server  1s
         timeout connect 1s
index 753aafe..7d122aa 100644 (file)
@@ -51,7 +51,6 @@ server srv_h2 {
 haproxy hap -conf {
        defaults
        mode http
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
index 576c89d..472e5f2 100644 (file)
@@ -47,7 +47,6 @@ server s2 {
 haproxy hap_srv -conf {
        defaults
        mode http
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
@@ -70,7 +69,6 @@ haproxy hap_srv -conf {
 haproxy hap_srv_bad_key -conf {
        defaults
        mode http
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
@@ -91,7 +89,6 @@ haproxy hap_srv_bad_key -conf {
 haproxy hap -conf {
        defaults
        mode http
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
index 55919ea..4db79a5 100644 (file)
@@ -12,7 +12,6 @@ server s1 {
 haproxy h1 -W -S -conf {
   defaults
     mode http
-    ${no-htx} option http-use-htx
     log global
     option httplog
     timeout connect         1s
index 3ba47aa..6628f36 100644 (file)
@@ -72,7 +72,6 @@ server s2 {
 haproxy h1 -conf {
   defaults
     mode http
-    ${no-htx} option http-use-htx
     log global
     option httplog
     timeout connect         1s
@@ -128,7 +127,6 @@ haproxy h1 -conf {
 haproxy h2 -conf {
   defaults
     mode http
-    ${no-htx} option http-use-htx
     log global
     option httplog
     timeout connect         1s
index 3fbc3f7..182013b 100644 (file)
@@ -38,7 +38,6 @@ server s1 {
 haproxy h1 -conf {
     defaults
        mode http
-       ${no-htx} option http-use-htx
        timeout connect 1s
        timeout client  1s
        timeout server  1s
index 7f4526a..f6a0eeb 100644 (file)
@@ -35,7 +35,6 @@ server s4 {
 haproxy h1 -conf {
   defaults
     mode http
-    ${no-htx} option http-use-htx
     log global
     option httplog
     timeout connect         1s
index 0e6e66e..7a5b879 100644 (file)
@@ -39,7 +39,6 @@ haproxy h1 -conf {
 
   defaults
     mode http
-    ${no-htx} option http-use-htx
     log global
     option httplog
     timeout connect         1s
index 2da5e87..4952f61 100644 (file)
@@ -44,7 +44,6 @@ haproxy h1 -conf {
 
     frontend f1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${f1}"
         log ${Slog_addr}:${Slog_port} daemon
         log-format Ta=%Ta\ Tc=%Tc\ Td=%Td\ Th=%Th\ Ti=%Ti\ Tq=%Tq\ TR=%TR\ Tr=%Tr\ Tt=%Tt\ Tw=%Tw
@@ -52,7 +51,6 @@ haproxy h1 -conf {
 
     backend b1
         mode http
-        ${no-htx} option http-use-htx
         http-request use-service lua.foo.http
 
     frontend f2
index 98492ee..b6772b0 100644 (file)
@@ -36,7 +36,6 @@ haproxy h1 -conf {
         log ${Slog_addr}:${Slog_port} local0 debug err
         log-format Ta=%Ta\ Tc=%Tc\ Td=%Td\ Th=%Th\ Ti=%Ti\ Tq=%Tq\ TR=%TR\ Tr=%Tr\ Tt=%Tt\ Tw=%Tw
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${frt}"
         http-request use-service lua.donothing
 } -start
index 658a3d6..bd8c069 100644 (file)
@@ -9,7 +9,6 @@ haproxy h1 -conf {
 
     frontend fe1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe1}"
         default_backend b1
 
@@ -17,7 +16,6 @@ haproxy h1 -conf {
 
     backend b1
         mode http
-        ${no-htx} option http-use-htx
         http-request use-service lua.fakeserv
 } -start
 
index 25e238e..2e126f5 100644 (file)
@@ -15,13 +15,11 @@ haproxy h1 -conf {
 
     frontend fe1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe1}"
         default_backend b1
 
     backend b1
         mode http
-        ${no-htx} option http-use-htx
         http-request use-service lua.fakeserv
 
 } -start
index af4cbf1..5ca49b6 100644 (file)
@@ -16,14 +16,12 @@ haproxy h1 -conf {
 
     frontend fe1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe1}"
 
         http-request use-service lua.set_var
 
     frontend fe2
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe2}"
 
         http-request set-header Dummy %[var(txn.fe2_foo)]
index 6f5d632..9538363 100644 (file)
@@ -17,20 +17,17 @@ haproxy h1 -conf {
 
     frontend fe1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe1}"
         default_backend b1
 
     frontend fe2
         mode http
-        ${no-htx} option http-use-htx
         bind ":8443" ssl crt ${testdir}/common.pem
         stats enable
         stats uri /
 
     backend b1
         mode http
-        ${no-htx} option http-use-htx
         http-request use-service lua.fakeserv
 } -start
 
index 25fb063..71e7bb5 100644 (file)
@@ -11,20 +11,17 @@ haproxy h1 -conf {
 
     frontend fe1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe1}"
         default_backend b1
 
     frontend fe2
         mode http
-        ${no-htx} option http-use-htx
         bind ":8443" ssl crt ${testdir}/common.pem
         stats enable
         stats uri /
 
     backend b1
         mode http
-        ${no-htx} option http-use-htx
         http-request use-service lua.fakeserv
 } -start
 
index 321ddf4..ed76579 100644 (file)
@@ -47,7 +47,6 @@ haproxy h1 -conf {
 
     frontend fe1
         mode http
-        ${no-htx} option http-use-htx
         bind "fd@${fe1}"
         default_backend b1
 
@@ -55,7 +54,6 @@ haproxy h1 -conf {
 
     backend b1
         mode http
-        ${no-htx} option http-use-htx
         server s1 ${s1_addr}:${s1_port}
 
 } -start
index dd6c620..e98121c 100644 (file)
@@ -13,7 +13,6 @@ haproxy h1 -W -S -conf {
         nbproc 4
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index bda9b96..ec0219a 100644 (file)
@@ -14,7 +14,6 @@ haproxy h1 -W -S -conf {
         nbproc 1
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index b7d6c7c..5932a78 100644 (file)
@@ -28,7 +28,6 @@ haproxy h1 -W -conf {
 
   defaults
     mode http
-    ${no-htx} option http-use-htx
     log global
     option httplog
     timeout connect         1s
index 8bb4cd2..670eaac 100644 (file)
@@ -12,7 +12,6 @@ server s1 {
 haproxy h1 -conf {
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index 3b2a57b..7b92d71 100644 (file)
@@ -21,7 +21,6 @@ server s2 -repeat 3 {
 haproxy h1 -conf {
        defaults
                mode http
-               ${no-htx} option http-use-htx
                timeout connect 1s
                timeout client  1s
                timeout server  1s
index b3b00c3..8c15133 100644 (file)
@@ -13,7 +13,6 @@ server s1 {
 haproxy h1 -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index 638debe..387c299 100644 (file)
@@ -17,7 +17,6 @@ haproxy h1 -conf {
 
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout connect 1s
         timeout client  1s
         timeout server  1s
index f42e3af..ca52285 100644 (file)
@@ -31,7 +31,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 1s
@@ -48,7 +47,6 @@ haproxy h1 -conf {
 
     listen ssl-lst
         mode http
-        ${no-htx} option http-use-htx
         bind "${tmpdir}/ssl.sock" ssl strict-sni crt-list ${testdir}/localhost.crt-list
 
         server s1 ${s1_addr}:${s1_port}
index c61adc2..4bf89f9 100644 (file)
@@ -29,7 +29,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
@@ -47,13 +46,11 @@ haproxy h1 -conf {
 
     listen first-ssl-fe
         mode http
-        ${no-htx} option http-use-htx
         bind "${tmpdir}/first-ssl.sock" ssl strict-sni crt-list ${testdir}/simple.crt-list
         server s1 ${s1_addr}:${s1_port}
 
     listen second-ssl-fe
         mode http
-        ${no-htx} option http-use-htx
         bind "${tmpdir}/second-ssl.sock" ssl crt-list ${testdir}/localhost.crt-list
         server s1 ${s1_addr}:${s1_port}
 } -start
index 6230a9d..613e128 100644 (file)
@@ -29,7 +29,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index 8f82c66..0d82200 100644 (file)
@@ -29,7 +29,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index 04f892c..eb62563 100644 (file)
@@ -34,7 +34,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index a606b47..c4d0883 100644 (file)
@@ -40,7 +40,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index bbc34a4..aaec89d 100644 (file)
@@ -35,7 +35,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index 80736bb..f1c42ff 100644 (file)
@@ -32,7 +32,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index a1889d0..7060a14 100644 (file)
@@ -37,7 +37,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index ccf7887..0dbef72 100644 (file)
@@ -24,7 +24,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 100ms
index 849e878..f82be7b 100644 (file)
@@ -31,7 +31,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 1s
index ccefa79..83662be 100644 (file)
@@ -19,7 +19,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 1s
@@ -34,7 +33,6 @@ haproxy h1 -conf {
 
     listen ssl-lst
         mode http
-        ${no-htx} option http-use-htx
 
         http-response add-header x-ssl-der %[ssl_c_der,hex]
         http-response add-header x-ssl-chain-der %[ssl_c_chain_der,hex]
index a5ba189..90b9452 100644 (file)
@@ -38,7 +38,6 @@ haproxy h1 -conf {
 
     listen ssl-lst
         mode http
-        ${no-htx} option http-use-htx
         bind "${tmpdir}/ssl.sock" ssl strict-sni ssl-min-ver TLSv1.2 ssl-max-ver TLSv1.2 ciphers "kRSA:aECDSA" crt-list ${testdir}/filters.crt-list
 
         server s1 ${s1_addr}:${s1_port}
index 5a7a0ee..86851cf 100644 (file)
@@ -19,7 +19,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 1s
@@ -34,7 +33,6 @@ haproxy h1 -conf {
 
     listen ssl-lst
         mode http
-        ${no-htx} option http-use-htx
 
         http-response add-header x-ssl-der %[ssl_f_der,hex]
         http-response add-header x-ssl-sha1 %[ssl_f_sha1,hex]
index 53dd1b8..136ccaf 100644 (file)
@@ -20,7 +20,6 @@ haproxy h1 -conf {
     defaults
         mode http
         option httplog
-        ${no-htx} option http-use-htx
         log stderr local0 debug err
         option logasap
         timeout connect 1s
@@ -47,7 +46,6 @@ haproxy h1 -conf {
 
     listen ssl-lst
         mode http
-        ${no-htx} option http-use-htx
 
         bind "${tmpdir}/ssl.sock" ssl strict-sni crt-list ${testdir}/localhost.crt-list
 
index d3353a1..d35c27d 100644 (file)
@@ -37,7 +37,6 @@ haproxy h1 -conf {
 
     listen ssl-lst
         mode http
-        ${no-htx} option http-use-htx
         bind "${tmpdir}/ssl.sock" ssl strict-sni crt-list ${testdir}/simple.crt-list
 
         server s1 ${s1_addr}:${s1_port}
index 9f0bdd7..7dc7528 100644 (file)
@@ -29,7 +29,6 @@ haproxy h1 -conf {
 
   listen frt
     mode http
-    ${no-htx} option http-use-htx
     bind "fd@${frt}" ssl crt ${testdir}/common.pem
     http-request redirect location /
 } -start
index 502a059..2e859bd 100644 (file)
@@ -30,7 +30,6 @@ haproxy h1 -conf {
     # Configuration file of 'h1' haproxy instance.
     defaults
         mode   http
-        ${no-htx} option http-use-htx
         timeout connect         5s
         timeout server          30s
         timeout client          30s
index 7078213..8281ca9 100644 (file)
@@ -9,7 +9,6 @@ haproxy h0 -conf {
                timeout server 5s
 
                listen li
-                       ${no-htx} option http-use-htx
                        bind "fd@${fe1}"
                        http-request track-sc0 src table conn_rate_table
                        http-request deny if { src_conn_rate(conn_rate_table) gt 3 }
index ca84c0b..980443c 100644 (file)
@@ -18,7 +18,6 @@ haproxy h0 -conf {
 
        frontend test
                mode http
-               ${no-htx} option http-use-htx
                bind "fd@${fe1}"
                stick-table type ip size 1m expire 1h store gpc0
                http-request deny if { src,table_trackers(test) eq 1 }
index e886564..28b08b5 100644 (file)
@@ -46,7 +46,6 @@ server s4 {
 haproxy h1 -arg "-L A" -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout server 1s
         timeout connect 1s
         timeout client 1s
@@ -110,7 +109,6 @@ server s8 {
 haproxy h2 -arg "-L B" -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout server 1s
         timeout connect 1s
         timeout client 1s
index 0561638..5001063 100644 (file)
@@ -35,7 +35,6 @@ server s2 {
 haproxy h1 -arg "-L A" -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout server 1s
         timeout connect 1s
         timeout client 1s
@@ -77,7 +76,6 @@ haproxy h1 -arg "-L A" -conf {
 haproxy h2 -arg "-L B" -conf {
     defaults
         mode http
-        ${no-htx} option http-use-htx
         timeout server 1s
         timeout connect 1s
         timeout client 1s
index fe8b333..b26356f 100644 (file)
@@ -17,7 +17,6 @@ haproxy h1 -conf {
 
   defaults
     mode http
-    ${no-htx} option http-use-htx
 
   frontend fe1
     bind "fd@${fe1}"
index 37668c9..b542f24 100755 (executable)
@@ -38,15 +38,6 @@ _help()
     --clean to cleanup previous reg-tests log directories and exit
       run-regtests.sh --clean
 
-    --use-htx to use the HTX in tests (deprecated, the default mode now)
-
-    --no-htx to use the legacy HTTP in tests
-      run-regtests.sh --no-htx, sets the macro \${no-htx}
-      In .vtc files, in HAProxy configuration, you should use the following line
-      to "templatize" your tests:
-
-          \${no-htx} option http-use-htx
-
   Including text below into a .vtc file will check for its requirements
   related to haproxy's target and compilation options
     # Below targets are not capable of completing this test successfully
@@ -283,12 +274,6 @@ _process() {
              REGTESTS_TYPES="$2"
              shift
              ;;
-        --use-htx)
-          no_htx=""
-          ;;
-        --no-htx)
-          no_htx="no "
-          ;;
         --clean)
           _cleanup
           exit 0
@@ -323,7 +308,6 @@ jobcount=""
 verbose="-q"
 debug=""
 keep_logs="-l"
-no_htx=""
 testlist=""
 
 _process "$@";
@@ -367,10 +351,6 @@ echo "Options : $FEATURES"
 echo "Services : $SERVICES"
 
 echo "########################## Gathering tests to run ##########################"
-# if htx is enable, but HAProxy version is lower to 1.9, disable it
-if [ $(_version "$HAPROXY_VERSION") -lt $(_version "1.9") ]; then
-  no_htx="#"
-fi
 
 if [ -z "$REGTESTS" ]; then
   _findtests reg-tests/
@@ -387,7 +367,7 @@ if [ -n "$testlist" ]; then
   if [ -n "$jobcount" ]; then
     jobcount="-j $jobcount"
   fi
-  cmd="$VTEST_PROGRAM -b $((2<<20)) -k -t 10 -Dno-htx=${no_htx} $keep_logs $verbose $debug $jobcount $vtestparams $testlist"
+  cmd="$VTEST_PROGRAM -b $((2<<20)) -k -t 10 $keep_logs $verbose $debug $jobcount $vtestparams $testlist"
   eval $cmd
   _vtresult=$?
 else