mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 05:33:34 +02:00
BUG/MINOR: lua: Return an error if a legacy HTTP applet doesn't send anything
In legacy mode, if an HTTP applet does not send any response, an error 500 is returned.
This commit is contained in:
@@ -19,7 +19,7 @@ feature ignore_unknown_macro
|
||||
|
||||
syslog Slog -level info -repeat 100 {
|
||||
recv info
|
||||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Ta=[0-9]* Tc=[0-9]* Td=-1 Th=[0-9]* Ti=[0-9]* Tq=[0-9]* TR=[0-9] Tr=-1 Tt=[0-9]* Tw=[0-9]*"
|
||||
expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Ta=[0-9]* Tc=[0-9]* Td=[0-9]* Th=[0-9]* Ti=[0-9]* Tq=[0-9]* TR=[0-9] Tr=[0-9]* Tt=[0-9]* Tw=[0-9]*"
|
||||
} -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
|
||||
Reference in New Issue
Block a user