mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
BUG/MINOR: vars: use sess and not s->sess in action_store()
This causes the stream to be dereferenced when not needed. It will cause trouble when variables are used outside of a stream.
This commit is contained in:
parent
0c63053b30
commit
108a8fd8be
@ -507,7 +507,7 @@ static enum act_return action_store(struct act_rule *rule, struct proxy *px,
|
||||
|
||||
/* Process the expression. */
|
||||
memset(&smp, 0, sizeof(smp));
|
||||
if (!sample_process(px, s->sess, s, dir|SMP_OPT_FINAL,
|
||||
if (!sample_process(px, sess, s, dir|SMP_OPT_FINAL,
|
||||
rule->arg.vars.expr, &smp))
|
||||
return ACT_RET_CONT;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user