]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: global: Add an option to get the old listening sockets.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 5 Apr 2017 20:33:04 +0000 (22:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Apr 2017 17:15:17 +0000 (19:15 +0200)
commitf73629d23a44995f84887859fcbc7d22a2227eec
tree86fffac1bc63afd5692ec9409d11ac3e251384d0
parentf886e3478def3afe645b086243a919246a4102a4
MINOR: global: Add an option to get the old listening sockets.

Add the "-x" flag, that takes a path to a unix socket as an argument. If
used, haproxy will connect to the socket, and asks to get all the
listening sockets from the old process. Any failure is fatal.
This is needed to get seamless reloads on linux.
include/proto/listener.h
include/types/listener.h
src/haproxy.c
src/listener.c