]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stick-tables: Add peers process binding computing.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 19 Mar 2019 13:55:01 +0000 (14:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 04:54:07 +0000 (06:54 +0200)
commit015e4d7d93a2a34e79bd08e832046708e5d37f1e
tree1c11876591ddec334a598074c6b8be261348d734
parent1b8e68e89aadb2740d79034c217257a78e9747b9
MINOR: stick-tables: Add peers process binding computing.

Add a list of proxies for all the stick-tables (->proxies_list struct stktable
member) so that to be able to compute the process bindings of the peers after having
parsed the configuration file.
The proxies are added to the stick-tables they reference when parsing
stick-tables lines in proxy sections, when checking the actions in
check_trk_action() and when resolving samples args for stick-tables
without checking is they are duplicates. We check only there is no loop.
Then, after having parsed everything, we add the proxy bindings to the
peers frontend bindings with stick-tables they reference.
include/types/proxy.h
include/types/stick_table.h
src/action.c
src/cfgparse-listen.c
src/cfgparse.c
src/sample.c