]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTEST: fix the race conditions in digest.vtc
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 2 Jan 2023 14:02:10 +0000 (15:02 +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/digest.vtc

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