]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: vars: smp_fetch_var() doesn't depend on HTTP but on the session
authorWilly Tarreau <w@1wt.eu>
Fri, 21 Oct 2016 15:17:18 +0000 (17:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Oct 2016 15:53:46 +0000 (17:53 +0200)
commit87846e42a478fe2aa0fbc1e162ba5fb227be49b7
tree82c00b1312c2edc793d0e5469f885f96f11ff725
parent7513d001c8a6b7d1cf8e7d5469942cd39d6e8160
BUG/MINOR: vars: smp_fetch_var() doesn't depend on HTTP but on the session

Thus the SMP_USE_HTTP_ANY dependency is incorrect, we have to depend on
SMP_USE_L5_CLI (the session). It's particularly important for session-wide
variables which are kept across HTTP requests. For now there is no impact
but it will make a difference with tcp-request session rules.
src/vars.c