]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: Update healthcheck when server settings are changed via CLI
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Sep 2025 14:36:25 +0000 (16:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Sep 2025 13:56:42 +0000 (15:56 +0200)
commita97bd0f50520b8f70fe0d543a6be863b4b84ac9d
tree59d2b61d4b0514330233d8a7dc85ce655d2965fd
parentf8f94ffc9c26bb8c2ff261972ce2f6c4fd731f6d
BUG/MINOR: server: Update healthcheck when server settings are changed via CLI

not all changes are concerned. But when the SSL is enabled or disabled for a
server, the healthcheck xprt must be eventually be updated too. This happens
when the healthcheck relies on the server settings.

In the same spirit, when the healthcheck address and port are updated, we
must fallback on the raw xprt if the SSL is not explicitly enabled for the
healthcheck with a "check-ssl" parameter.

This patch should be backported to all stable versions.
src/server.c