mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-04 16:57:58 +00:00
REGTESTS: server: close an occasional race on dynamic_server_ssl.vtc
Sometimes when sending commands to shut down a server, haproxy complains that some connections remain, this is because the server-side connection might not always be completely released at the moment the client leaves and the operation is emitted. While shutting down server sessions work, it seems cleaner to just use "option httpclose" which releases the server earlier and avoids the race. This can be backported to 2.5.
This commit is contained in:
parent
b042e4f6f7
commit
42f2a511d3
@ -23,6 +23,7 @@ haproxy h1 -conf {
|
||||
|
||||
defaults
|
||||
mode http
|
||||
option httpclose
|
||||
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
||||
|
Loading…
Reference in New Issue
Block a user