]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stats: make use of the standard "bind" parsers to parse global socket
authorWilly Tarreau <w@1wt.eu>
Sat, 22 Sep 2012 17:32:35 +0000 (19:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 24 Sep 2012 08:53:17 +0000 (10:53 +0200)
commitd578120a3e773f2bb91c9b0c0ca25fa41b88dc79
tree8d7702c2b7d87aff9491ddc40c92f070dfc88653
parent81796be87c391734c68fc40fa95436d429a0356e
MEDIUM: stats: make use of the standard "bind" parsers to parse global socket

The global stats socket statement now makes use of the standard bind parsers.
This results in all UNIX socket options being set by proto_uxst and in all
TCP and SSL options being inherited and usable. For example it is now possible
to enable a stats socket over SSL/TCP by appending the "ssl" keyword and a
certificate after "crt".

The code is simplified since we don't have a special case to parse this config
keyword anymore.
src/dumpstats.c