MINOR: cli: add 'expose-fd listeners' to pass listeners FDs
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 May 2017 15:42:10 +0000 (17:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 May 2017 05:02:17 +0000 (07:02 +0200)
commitf6975e9f76112c375af8ff98a22d5886541faeb3
tree33fc1bf835a91b1b8098b8a6e2220bead4154f9a
parent07a62f7a7ee1caf24283ba73df1467be2517ae88
MINOR: cli: add 'expose-fd listeners' to pass listeners FDs

This patch changes the stats socket rights for allowing the sending of
listening sockets.

The previous behavior was to allow any unix stats socket with admin
level to send sockets. It's not possible anymore, you have to set this
option to activate the socket sending.

Example:
   stats socket /var/run/haproxy4.sock mode 666 expose-fd listeners level user process 4
doc/configuration.txt
doc/management.txt
include/types/global.h
src/cli.c