haproxy/doc
Willy Tarreau 7978c5c422 MEDIUM: vars: make the ifexist variant of set-var only apply to the proc scope
When setting variables, there are currently two variants, one which will
always create the variable, and another one, "ifexist", which will only
create or update a variable if a similarly named variable in any scope
already existed before.

The goal was to limit the risk of injecting random names in the proc
scope, but it was achieved by making use of the somewhat limited name
indexing model, which explains the scope-agnostic restriction.

With this change, we're moving the check downwards in the chain, at the
variable level, and only variables under the scope "proc" will be subject
to the restriction. A new set of VF_* flags was added to adjust how
variables are set, and VF_UPDATEONLY is used to mention this restriction.

In this exact state of affairs, this is not completely exact, as if a
similar name was not known in any scope, the variable will continue to
be rejected like before, but this will change soon.
2021-09-08 11:47:06 +02:00
..
design-thoughts
internals CLEANUP: assorted typo fixes in the code and comments 2021-08-16 12:37:59 +02:00
lua-api MEDIUM: vars: make the ifexist variant of set-var only apply to the proc scope 2021-09-08 11:47:06 +02:00
51Degrees-device-detection.txt
DeviceAtlas-device-detection.txt
SOCKS4.protocol.txt
SPOE.txt MEDIUM: vars: make the ifexist variant of set-var only apply to the proc scope 2021-09-08 11:47:06 +02:00
WURFL-device-detection.txt
acl.fig
architecture.txt DOC: fix a few remainig cases of "Haproxy" and "HAproxy" in doc and comments 2021-05-09 06:50:46 +02:00
close-options.txt MINOR: config: reject long-deprecated "option forceclose" 2021-06-11 16:57:34 +02:00
coding-style.txt DOC: fix a few remainig cases of "Haproxy" and "HAproxy" in doc and comments 2021-05-09 06:50:46 +02:00
configuration.txt MINOR: proxy: add a global "grace" directive to postpone soft-stop 2021-09-07 17:34:29 +02:00
cookie-options.txt
gpl.txt
haproxy.1
intro.txt DOC: intro: Fix typo in starter guide 2021-05-27 08:26:43 +02:00
lgpl.txt
linux-syn-cookies.txt
lua.txt [RELEASE] Released version 2.4-dev19 2021-05-10 07:50:26 +02:00
management.txt MEDIUM: vars: also support format strings in CLI's "set var" command 2021-09-03 11:01:48 +02:00
netscaler-client-ip-insertion-protocol.txt
network-namespaces.txt
peers-v2.0.txt DOC: peers: fix the protocol tag name in the doc 2021-05-09 06:38:07 +02:00
peers.txt
proxy-protocol.txt DOC: fix a few remainig cases of "Haproxy" and "HAproxy" in doc and comments 2021-05-09 06:50:46 +02:00
queuing.fig
regression-testing.txt DOC: fix a few remainig cases of "Haproxy" and "HAproxy" in doc and comments 2021-05-09 06:50:46 +02:00
seamless_reload.txt