]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: Add PR_FL_READY flag on fully configured and usable proxies
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Oct 2021 08:10:09 +0000 (10:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Oct 2021 12:12:19 +0000 (14:12 +0200)
commit56717803e1f8dbe16a825a0dc8a35953a324e9cc
tree8acee737b6d535af8286b1dac3c19e525cffe4cb
parent27c8d20451e800a03ad639887fd0feee25a44a9d
MINOR: proxy: Add PR_FL_READY flag on fully configured and usable proxies

The PR_FL_READY flags must now be set on a proxy at the end of the
configuration validity check to notify it is fully configured and may be
safely used.

For now there is no real usage of this flag. But it will be usefull for
referenced default proxies to finish their configuration only once.

This patch is mandatory to support TCP/HTTP rules in defaults sections.
include/haproxy/proxy-t.h
src/cfgparse.c
src/proxy.c