REGTESTS: fix the race conditions in be2dec.vtc ad field.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 e50aabe443125eb94e3e7823c387125ca7e0c302)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 523f190c9c2ab25e19e11c76e49d160867e22ab9)
[cf: be2dec.vtx does not exist on the 2.4]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/reg-tests/converter/field.vtc b/reg-tests/converter/field.vtc
index 29608fe..e5a80e3 100644
--- a/reg-tests/converter/field.vtc
+++ b/reg-tests/converter/field.vtc
@@ -4,7 +4,7 @@
server s1 {
rxreq
- txresp
+ txresp -hdr "Connection: close"
} -repeat 3 -start
haproxy h1 -conf {