commit | ba8e8c351866947c5fe4dac4db433c6a3d04ff7f | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sun Nov 26 19:53:46 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 26 20:10:58 2017 +0100 |
tree | 1c95dfdc3932c9a4d5af9d59b08a0518354b2ca2 | |
parent | b306650c2abeba9c1327d3b577b9125df0754a73 [diff] |
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]