REGTESTS: fix the race conditions in secure_memcmp.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Mar 2022 10:03:00 +0000 (11:03 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 1 Mar 2022 10:31:08 +0000 (11:31 +0100)
In the same way than for normalize_uri.vtc, a "Connection: close" header is
added to all responses to avoid any connection reuse. This should avoid any
"HTTP header incomplete" errors.

(cherry picked from commit 0dc70ab799f55f044f976b325f64f8ac246585e2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

reg-tests/converter/secure_memcmp.vtc

index 67a7b7d..6ff74e6 100644 (file)
@@ -7,12 +7,12 @@ feature ignore_unknown_macro
 
 server s1 {
        rxreq
-       txresp
+       txresp -hdr "Connection: close"
 } -repeat 4 -start
 
 server s2 {
        rxreq
-       txresp
+       txresp -hdr "Connection: close"
 } -repeat 7 -start
 
 haproxy h1 -conf {