]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: server: close an occasional race on dynamic_server_ssl.vtc
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Feb 2022 09:45:23 +0000 (10:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Feb 2022 13:42:13 +0000 (14:42 +0100)
commit42f2a511d32363121c667d51548d15204625301f
treebf9cf02bef5850dda0ffea9f585118d0c3741de8
parentb042e4f6f7dca655a337fc9ffe1a5e4f25440868
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.
reg-tests/ssl/dynamic_server_ssl.vtc