]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: fix the race conditions in be2dec.vtc ad field.vtc
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 26 Apr 2022 09:20:10 +0000 (11:20 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 26 Apr 2022 09:21:35 +0000 (11:21 +0200)
A "Connection: close" header is added to all responses to avoid any
connection reuse. This should avoid any "HTTP header incomplete" errors.

reg-tests/converter/be2dec.vtc
reg-tests/converter/field.vtc

index 540392e2895e49e33d71d9fdabfe2ad5f2f0153b..a0b71046bccbc9598b2afc5ae0dea69776ba3460 100644 (file)
@@ -5,7 +5,7 @@ feature ignore_unknown_macro
 
 server s1 {
        rxreq
-       txresp
+       txresp -hdr "Connection: close"
 } -repeat 3 -start
 
 haproxy h1 -conf {
index d8a6130e59b651b11208cd8b61a4ee7cc97d49a7..1243728c0118c63f898f6f1f1d0b6480f5915241 100644 (file)
@@ -4,7 +4,7 @@ feature ignore_unknown_macro
 
 server s1 {
        rxreq
-       txresp
+       txresp -hdr "Connection: close"
 } -repeat 3 -start
 
 haproxy h1 -conf {