]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] stats: global stats timeout may be specified before stats socket.
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Aug 2010 19:48:17 +0000 (21:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Aug 2010 19:55:54 +0000 (21:55 +0200)
commit07e9e64a3415e7398cebd50abec3378c2897ad77
tree3d5c559d94d2a256741fdf9ad9359398ecfe008d
parentd132f746f27cfdf8438f74a56c435fc920406392
[BUG] stats: global stats timeout may be specified before stats socket.

If the global stats timeout statement was found before the stats socket
(or without), the parser would crash because the stats frontend was not
initialized. Now we have an allocation function which solves the issue.

This bug was introduced with 1.4 so it does not need backporting.
(was commit 1c5819d2498ae3643c3880507847f948a53d2773 in 1.4)
src/dumpstats.c