]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: zombify proxies only when the expose-fd socket is bound
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 May 2017 16:19:55 +0000 (18:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 27 May 2017 05:02:25 +0000 (07:02 +0200)
commit7f80eb2383bb54ddafecf0e7df6b3b3ef4b4f6e5
treebcb005e5d766312c886163a3093185dad0e7e307
parentf6975e9f76112c375af8ff98a22d5886541faeb3
MEDIUM: proxy: zombify proxies only when the expose-fd socket is bound

When HAProxy is running with multiple processes and some listeners
arebound to processes, the unused sockets were not closed in the other
processes. The aim was to be able to send those listening sockets using
the -x option.

However to ensure the previous behavior which was to close those
sockets, we provided the "no-unused-socket" global option.

This patch changes this behavior, it will close unused sockets which are
not in the same process as an expose-fd socket, making the
"no-unused-socket" option useless.

The "no-unused-socket" option was removed in this patch.
doc/configuration.txt
src/cfgparse.c
src/haproxy.c