REGTEST: fix the race conditions in add_item.vtc
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 2 Jan 2023 13:59:50 +0000 (14:59 +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/add_item.vtc

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