]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: stick-tables: some sample-fetch doesn't work in the connection state.
authorThierry Fournier <tfournier@arpalert.org>
Tue, 29 Mar 2016 19:27:36 +0000 (21:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Mar 2016 17:51:33 +0000 (19:51 +0200)
commit40e1d5106891aa8807843b3f759bdf708dbe7d1d
treeec40aba9112842c85cb6dc26939956af7ae82d93
parentff480424abb09c1816463c7bdb38524e09aa4891
BUG/MEDIUM: stick-tables: some sample-fetch doesn't work in the connection state.

The sc_* sample fetch can work without the struct strm, because the
tracked counters are also stored in the session. So, this patchs
removes the check for the strm existance.

This bug is recent and was introduced in 1.7-dev2 by commit 6204cd9
("BUG/MAJOR: vars: always retrieve the stream and session from the sample")

This bugfix must be backported in 1.6.
src/stream.c