]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: fix the race conditions in iff.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Dec 2022 16:11:22 +0000 (17:11 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 9 Dec 2022 16:11:22 +0000 (17:11 +0100)
A "Connection: close" header is added to responses to avoid any connection
reuse. This should avoid any "HTTP header incomplete" errors.

reg-tests/converter/iif.vtc

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