mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 05:33:34 +02:00
REGTEST: Add option to use HTX prefixed by the macro 'no-htx'
So some tests have been removed.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user