]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: stats: allocate the stats frontend also on "stats bind-process"
authorWilly Tarreau <w@1wt.eu>
Sat, 20 Apr 2013 07:48:50 +0000 (09:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 20 Apr 2013 07:48:50 +0000 (09:48 +0200)
commit913195715d83f15abf0247037dc9bfe9cff327f8
tree56df66d41989010eb3c1b63f73fac51692d83c19
parentcc8bb92f32128a603d4206f066e99944e4049681
BUG/MEDIUM: stats: allocate the stats frontend also on "stats bind-process"

Bryan Talbot reported that a config with only "stats bind-process 1" in
the global section would crash during parsing. This bug was introduced
with this new statement in 1.5-dev13. The stats frontend must be allocated
if it was not yet.

No backport is needed. The workaround consists in having previously declared
any other stats keyword (generally stats socket).
src/dumpstats.c