]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: vars: Be able to retrieve variable of the parent stream, if any
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Jul 2024 14:54:45 +0000 (16:54 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 18 Jul 2024 15:06:12 +0000 (17:06 +0200)
commit230c1570ac43989b8851142dceb0a3ffed1458cc
tree8b1e84fee5cc0f50ceb92bac3e3022cc99016769
parent1a1afecb8b687e31f3e7bcdef64c7710689061af
MEDIUM: vars: Be able to retrieve variable of the parent stream, if any

It is now possible to retrieved the value of a variable using the parent
stream or the parent session instead of the current one. It remains
forbidden to set or unset this value. The sample fetch used to store the
result is a local copy. So it may be safely altered by a converter without
changing the value of the original variable.

Note that for now, the parent of a stream is never set. So this part is not
really used. This will change with the SPOE.
src/vars.c