]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mworker: unregister the signals of main()
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 20 Nov 2018 16:36:53 +0000 (17:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Nov 2018 10:42:51 +0000 (11:42 +0100)
commit0564d413336e3dba210ce9e606da82d94c4ef013
tree56055a64d3d3109ba1caf2c1e8328f9306ed9680
parent31a1c1d5e76a9eba8be6ca7e418b9640541e5bfc
BUG/MEDIUM: mworker: unregister the signals of main()

The signal_register_fct() does not remove the handlers assigned to a
signal, but add a new handler to a list.

We accidentality inherited the handlers of the main() function in the
master process which is a problem because they act on the proxies.

The side effect was to stop the MASTER proxy which handle the master CLI
on a SIGUSR1, and to display some debug info when doing a SIGHUP and a
SIGQUIT.
src/haproxy.c