]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Use the check as origin when a session is created
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Apr 2020 09:53:32 +0000 (11:53 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:38 +0000 (09:39 +0200)
commit0fca7edeb59cf9588f4f3b9db97f1912171860da
tree1b7bb405268b488fa1047bfd544f576f8af1e068
parenta142c1deb401308055f29b9d52a47e5a0ad962e7
MINOR: checks: Use the check as origin when a session is created

Before, the server was used as origin during session creation. It was only used
to get the check associated to the server when a variable is get or set in the
check scope or when a check sample fetch was called. So it seems easier to use
the check as origin of a session. It is also more logical becaues the session is
created by the health-check itself and not its server.
src/checks.c
src/vars.c