]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] proxy: stats frontend and peers were missing many initializers
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Jul 2011 23:49:03 +0000 (01:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Jul 2011 00:00:19 +0000 (02:00 +0200)
commit237250cc0d89492b4434c577b2256fdc430ddad4
tree0013b134d01c604e35ef2712f2fe8a88d43e63ca
parent918ff608f88ed0ccef42337c2bb6b80b9f782f71
[BUG] proxy: stats frontend and peers were missing many initializers

This was revealed with one of the very latest patches which caused
the listener_queue not to be initialized on the stats socket frontend.
And in fact a number of other ones were missing too. This is getting so
boring that now we'll always make use of the same function to initialize
any proxy. Doing so has even saved about 500 bytes on the binary due to
the avoided code redundancy.

No backport is needed.
include/proto/proxy.h
src/cfgparse.c
src/dumpstats.c
src/proxy.c