REGTEST: fix the race conditions in add_item.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 63762b05b0951ac1e2dd0a337d4c003474154f84) Signed-off-by: Willy Tarreau <w@1wt.eu> (cherry picked from commit 924f2406a9663ec8dd3de377abc19e7844b19c5c) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
parent
77bc9f1f24
commit
7866b5ca33
@ -5,7 +5,7 @@ feature ignore_unknown_macro
|
||||
|
||||
server s1 {
|
||||
rxreq
|
||||
txresp
|
||||
txresp -hdr "Connection: close"
|
||||
} -repeat 3 -start
|
||||
|
||||
haproxy h1 -conf {
|
||||
|
Loading…
x
Reference in New Issue
Block a user