]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: signals: use protocol_pause_all() and protocol_resume_all()
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Sep 2020 14:36:26 +0000 (16:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commit775e00158ae51969f95ed5108f5dc648c9c3f448
treeddc7259989afc20f9ce05f2aade6f652af4f56b3
parent09819d11180f88a803b54297edbb68d5fe5b5173
MAJOR: signals: use protocol_pause_all() and protocol_resume_all()

When temporarily pausing the listeners with SIG_TTOU, we now pause
all listeners via the protocols instead of the proxies. This has the
benefits that listeners are paused regardless of whether or not they
belong to a visible proxy. And for resuming via SIG_TTIN we do the
same, which allows to report binding conflicts and address them,
since the operation can be repeated on a per-listener basis instead
of a per-proxy basis.

While in appearance all cases were properly handled, it's impossible
to completely rule out the possibility that something broken used to
work by luck due to the scan ordering which is naturally different,
hence the major tag.
src/haproxy.c