]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: fix the race conditions in be2hex.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Mar 2022 14:36:27 +0000 (15:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 14 Mar 2022 14:38:32 +0000 (15:38 +0100)
In the same way than for be2hex.vtc, a "Connection: close" header is added
to all responses to avoid any connection reuse. This should avoid any "HTTP
header incomplete" errors.

reg-tests/converter/be2hex.vtc

index 9d147449c63a0cf00c2dd7921941f2d53a50c697..4cf3dc1dfcf66396c953c292e09a27db422fa2ca 100644 (file)
@@ -5,7 +5,7 @@ feature ignore_unknown_macro
 
 server s1 {
        rxreq
-       txresp
+       txresp -hdr "Connection: close"
 } -repeat 3 -start
 
 haproxy h1 -conf {