]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: listeners: set O_CLOEXEC on the accepted FDs
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 26 Oct 2018 12:47:44 +0000 (14:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 28 Oct 2018 13:03:31 +0000 (14:03 +0100)
commit0b3e849a48a63c09fdcbe26a36895a6f03afb34d
tree7b294c95ae74c1c962abcc46d4f238404d81f3cd
parent4e8450b7d6b209ba8f30f41e689af9689fdc9120
MEDIUM: listeners: set O_CLOEXEC on the accepted FDs

Set the O_CLOEXEC flag on the accept, useful to avoid an FD leak in the
master process, since it reexecutes itself during a reload
src/listener.c