]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mworker: don't poll on LI_O_INHERITED listeners
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 12 Oct 2018 08:39:54 +0000 (10:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2018 17:30:18 +0000 (19:30 +0200)
commitdd319a5b1df73ab9a1443a27d1cafab0f8de86d6
tree6be373b908913cdd8d44a7e6a4175db714c47f31
parentb3fb56db10fa1392cb9ba6c102ad6aa07f584739
BUG/MEDIUM: mworker: don't poll on LI_O_INHERITED listeners

The listeners with the LI_O_INHERITED flag were deleted but not unbound
which is a problem since we have a polling in the master.

This patch unbind every listeners which are not require for the master,
but does not close the FD of those that have a LI_O_INHERITED flag.
src/haproxy.c