]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker: set the master side of ipc_fd in the worker to -1
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 28 Jan 2022 20:56:24 +0000 (21:56 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 28 Jan 2022 22:52:26 +0000 (23:52 +0100)
commit7e01878e4591b36218dad1326662704476982523
treee484f2fcc62af8797e0ebd211e5b42922f18850b
parent55a921c9147c2d45621964428c86c5ceb9fd31d8
MINOR: mworker: set the master side of ipc_fd in the worker to -1

Once the child->ipc_fd[0] is closed in the worker, set the value to -1
so we don't reference a closed FD anymore.
src/haproxy.c