REGTEST: fix the race conditions in hmac.vtc

A "Connection: close" header is added to responses to avoid any connection
reuse. This should avoid any "HTTP header incomplete" errors.

(cherry picked from commit 7956aa14d34baf49741c5bd356ce06a6ab2711a4)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 1b767f6b82388e90c9cfe2098a87461a1206c73c)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
Aurelien DARRAGON 2023-01-02 15:03:20 +01:00 committed by Christopher Faulet
parent 387aa39763
commit 0c34554950

View File

@ -7,7 +7,7 @@ feature ignore_unknown_macro
server s1 {
rxreq
txresp
txresp -hdr "Connection: close"
} -repeat 2 -start
haproxy h1 -conf {