]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mworker: fix FD leak upon reload
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 26 Nov 2018 10:53:40 +0000 (11:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2018 18:31:17 +0000 (19:31 +0100)
commit7c756a8ccc4e64fcb46d72a3cfc38dcf1ddbbc54
treebc2c026fbf5cbe3e363067717435de6d8b232308
parente548974ca8c1957c583912e9f353ab8fc59f41d8
BUG/MEDIUM: mworker: fix FD leak upon reload

We reintroduced some FDs leaking by using a poller and some listeners in
the master.

The master proxy needs to be stopped to avoid leaking its listeners, the
polling loop needs to be deinit, and the thread waker pipe need to be
closed too.

No backport needed.
src/haproxy.c