]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: sample: Wrong stick-table name parsing in "if/unless" ACL condition.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 20 Jun 2019 07:31:04 +0000 (09:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 21 Jun 2019 07:48:28 +0000 (09:48 +0200)
commit9417f4534ad742eda35c4cc3d1ccb390f75ea4b1
tree7f4a39e87d8c1235a83f619da145b18d6aa74565
parent1ae2a8878170ded922f2c4d32b6704af7689bbfd
BUG/MAJOR: sample: Wrong stick-table name parsing in "if/unless" ACL condition.

This bug was introduced by 1b8e68e commit which supposed the stick-table was always
stored in struct arg at parsing time. This is never the case with the usage of
"if/unless" conditions in stick-table declared as backends. In this case, this is
the name of the proxy which must be considered as the stick-table name.

This must be backported to 2.0.
src/sample.c