REGTEST: Add option to use HTX prefixed by the macro 'no-htx'

So some tests have been removed.
This commit is contained in:
Christopher Faulet
2018-12-19 11:49:39 +01:00
parent 6bd82cdbe6
commit 8f16148df7
21 changed files with 27 additions and 677 deletions

View File

@@ -46,6 +46,7 @@ haproxy h1 -conf {
frontend fe1
mode http
${no-htx} option http-use-htx
bind "fd@${fe1}"
default_backend b1
@@ -53,6 +54,7 @@ haproxy h1 -conf {
backend b1
mode http
${no-htx} option http-use-htx
server s1 ${s1_addr}:${s1_port}
} -start

View File

@@ -49,6 +49,7 @@ 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
@@ -56,6 +57,7 @@ haproxy h1 -conf {
backend b1
mode http
${no-htx} option http-use-htx
http-request use-service lua.foo.http
frontend f2

View File

@@ -11,17 +11,20 @@ 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

View File

@@ -36,6 +36,7 @@ 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

View File

@@ -9,6 +9,7 @@ haproxy h1 -conf {
frontend fe1
mode http
${no-htx} option http-use-htx
bind "fd@${fe1}"
default_backend b1
@@ -16,6 +17,7 @@ haproxy h1 -conf {
backend b1
mode http
${no-htx} option http-use-htx
http-request use-service lua.fakeserv
} -start

View File

@@ -15,11 +15,13 @@ 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