]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stktable: report the current proxy name in error messages
authorWilly Tarreau <w@1wt.eu>
Fri, 24 Jan 2020 06:19:34 +0000 (07:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Jan 2020 06:19:34 +0000 (07:19 +0100)
commit508d232a06cf082ff2cc694d3f1c03b10a07e719
tree9542e8e50379fe7c1ad9bb6761aa5336164c817a
parentf22758d12af5e9f3919f24bf913b883a62df7d93
BUG/MINOR: stktable: report the current proxy name in error messages

Since commit 1b8e68e89a ("MEDIUM: stick-table: Stop handling stick-tables
as proxies."), a rule referencing the current proxy with no table leads
to the following error :

  [ALERT] 023/071924 (16479) : Proxy 'px': unable to find stick-table '(null)'.
  [ALERT] 023/071914 (16479) : Fatal errors found in configuration.

for a config like this one:

  backend px
        stick on src

This patch fixes it and should be backported as far as 2.0.
src/cfgparse.c