MEDIUM: mworker: seamless reload use the internal sockpairs
With the master worker, the seamless reload was still requiring an
external stats socket to the previous process, which is a pain to
configure.
This patch implements a way to use the internal socketpair between the
master and the workers to transfer the sockets during the reload.
This way, the master will always try to transfer the socket, even
without any configuration.
The master will still reload with the -x argument, followed by the
sockpair@ syntax. ( ex -x sockpair@4 ). Which use the FD of internal CLI
to the worker.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 737a0d3..b78eaf8 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -13755,8 +13755,8 @@
expose-fd listeners
This option is only usable with the stats socket. It gives your stats socket
the capability to pass listeners FD to another HAProxy process.
- During a reload with the master-worker mode, the process is automatically
- reexecuted adding -x and one of the stats socket with this option.
+ In master-worker mode, this is not required anymore, the listeners will be
+ passed using the internal socketpairs between the master and the workers.
See also "-x" in the management guide.
force-sslv3