mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 04:31:49 +02: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
@ -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…
x
Reference in New Issue
Block a user