]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST: fix the race conditions in hmac.vtc
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 2 Jan 2023 14:03:20 +0000 (15:03 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Jan 2023 14:22:22 +0000 (15:22 +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/hmac.vtc

index ef3aa6cf171f1b2f2c0945db9f3e876aaa8e45a4..230a44d6d03d2d0842b66471bdd9cd3c3f7f9b62 100644 (file)
@@ -7,7 +7,7 @@ feature ignore_unknown_macro
 
 server s1 {
        rxreq
-       txresp
+       txresp -hdr "Connection: close"
 } -repeat 2 -start
 
 haproxy h1 -conf {