]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker: reintroduce way to disable seamless reload with -x /dev/null
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Apr 2024 13:08:31 +0000 (15:08 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Apr 2024 13:25:49 +0000 (15:25 +0200)
commit2ab42dddc470c38348e9fac1b0cedef2bcce91aa
tree0312032cf4cb063cd3b357541e29a3954748afc2
parente4a29447ce44802c03b22faf5cfc6e681b3643e7
BUG/MINOR: mworker: reintroduce way to disable seamless reload with -x /dev/null

Since the introduction of the automatic seamless reload using the
internal socketpair, there is no way of disabling the seamless reload.

Previously we just needed to remove -x from the startup command line,
and remove any "expose-fd" keyword on stats socket lines.

This was introduced in 2be557f7c ("MEDIUM: mworker: seamless reload use
the internal sockpairs").

The patch copy /dev/null again and pass it to the next exec so we never
try to get socket from the -x.

Must be backported as far as 2.6.
doc/management.txt
src/haproxy.c