]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Add option to tcp-check expect rules to customize error status
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 1 Apr 2020 09:04:52 +0000 (11:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commitcf80f2f263745768ce5ffe2ac35c1dfd06b7d3a1
treeb66e163399a8775a2a4b5b26c65cc951abc8c63a
parent1032059bd0362f1544b77358812316531b45df16
MINOR: checks: Add option to tcp-check expect rules to customize error status

It is now possible to specified the healthcheck status to use on error or on
timeout for tcp-check expect rules. First, to define the error status, the
option "error-status" must be used followed by "L4CON", "L6RSP", "L7RSP" or
"L7STS". Then, to define the timeout status, the option "tout-status" must be
used followed by "L4TOUT", "L6TOUT" or "L7TOUT".

These options will be used to convert specific protocol healthchecks (redis,
pgsql...) to tcp-check ones.
x
doc/configuration.txt
include/types/checks.h
src/checks.c