mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 17:32:03 -04:00
REGTESTS: Never reuse server connection in server/cli_delete_dynamic_server.vtc
A "Connection: close" header is added to responses to avoid any connection reuse. This should avoid errors on the client side.
This commit is contained in:
parent
8247df7c61
commit
686f8db79b
1 changed files with 2 additions and 2 deletions
|
|
@ -8,14 +8,14 @@ feature ignore_unknown_macro
|
|||
# static server
|
||||
server s1 -repeat 3 {
|
||||
rxreq
|
||||
txresp \
|
||||
txresp -hdr "Connection: close" \
|
||||
-body "resp from s1"
|
||||
} -start
|
||||
|
||||
# use as a dynamic server, added then deleted via CLI
|
||||
server s2 -repeat 3 {
|
||||
rxreq
|
||||
txresp \
|
||||
txresp -hdr "Connection: close" \
|
||||
-body "resp from s2"
|
||||
} -start
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue