]> git.kaiwu.me - haproxy.git/commit
MINOR: proxy: Review options flags used to configure healthchecks
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 19 Mar 2026 10:22:52 +0000 (11:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 23 Mar 2026 13:02:43 +0000 (14:02 +0100)
commit125cbecfa9cb2c0abd2562da6476480cde5a3b46
treec8cdb37124c87361a52dacde1d042b4013815f82
parenta61ea0f414ec453255a8663bbf4df03bc8e16bd4
MINOR: proxy: Review options flags used to configure healthchecks

When healthchecks were configured for a proxy, an enum-like was used to
sepcify the check's type. The idea was to reserve some values for futur
types of healthcheck. But it is overkill. I doubt we will ever have
something else than tcp and external checks. So corresponding PR_O2 flags
were slightly reviewed and a hole was filled.

Thanks to this change, some bits were released in options2 bitfield.
include/haproxy/proxy-t.h