]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks/vars: Add a check scope for variables
authorGaetan Rivet <grive@u256.net>
Fri, 21 Feb 2020 17:13:44 +0000 (18:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commit13a5043a9ebaa63e9b5085ed270352d8aaf32cea
tree104e715eb473d9f8bed7c134cec9be97851d2583
parent05d692dc095dde587fea94270ae97e97d23e7c3f
MINOR: checks/vars: Add a check scope for variables

Add a dedicated vars scope for checks. This scope is considered as part of the
session scope for accounting purposes.

The scope can be addressed by a valid session, even embryonic. The stream is not
necessary.

The scope is initialized after the check session is created. All variables are
then pruned before the session is destroyed.
include/proto/checks.h
include/types/checks.h
include/types/vars.h
src/checks.c
src/vars.c