]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: kqueue: Don't bother closing the kqueue after fork.
authorOlivier Houchard <cognet@ci0.org>
Sun, 26 Nov 2017 18:53:46 +0000 (19:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 26 Nov 2017 19:10:58 +0000 (20:10 +0100)
commitba8e8c351866947c5fe4dac4db433c6a3d04ff7f
tree1c95dfdc3932c9a4d5af9d59b08a0518354b2ca2
parentb306650c2abeba9c1327d3b577b9125df0754a73
BUG/MEDIUM: kqueue: Don't bother closing the kqueue after fork.

kqueue fd's are not shared with children after fork(), so the children
don't have to close them, and it may in fact be dangerous, because we may
end up closing a totally unrelated fd.

[wt: to be backported to 1.8 where master-worker broke on this, and
 likely to older versions for completeness]
src/ev_kqueue.c