MINOR: ssl/cli: flush the server session cache upon 'commit ssl cert'
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 3 Feb 2021 17:51:01 +0000 (18:51 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 3 Feb 2021 17:51:01 +0000 (18:51 +0100)
commite0de0a6b326ac17624c597a63c3b3c5a35faab54
tree80f5befcaf0f1a293278fdbe748481793d8646fa
parent377d8786a79dad763ccdd40afbd52dccff9c9980
MINOR: ssl/cli: flush the server session cache upon 'commit ssl cert'

Flush the SSL session cache when updating a certificate which is used on a
server line. This prevent connections to be established with a cached
session which was using the previous SSL_CTX.

This patch also replace the ha_barrier with a thread_isolate() since there
are more operations to do. The reg-test was also updated to remove the
'no-ssl-reuse' keyword which is now uneeded.
reg-tests/ssl/set_ssl_server_cert.vtc
src/ssl_ckch.c