]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: remove the stats_sock struct from the global struct
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Sep 2012 18:19:28 +0000 (20:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Sep 2012 08:53:16 +0000 (10:53 +0200)
commitc53d42256dcf2ff1acf2accc4b0a944dfe453df2
tree61c25571b15ff31b9c3444fc2131ca75cbab86fe
parent4fbb2285e2c4cb9c6804b43f8e746d12192b4e26
MEDIUM: stats: remove the stats_sock struct from the global struct

Now the stats socket is allocated when the 'stats socket' line is parsed,
and assigned using the standard str2listener(). This has two effects :
  - more than one stats socket can now be declared
  - stats socket now support protocols other than UNIX

The next step is to remove the duplicate bind config parsing.
include/types/global.h
src/dumpstats.c