commit | c03eb01c1ac478683b70a9b3fd776a8bf25e004d | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Nov 27 12:02:37 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 27 19:34:00 2018 +0100 |
tree | 2183f8cdbc4bad8e01cc5a591f8847f1aec6947c | |
parent | 680b2bdf2fe0491ec4674bfcdde2d0a3e794995e [diff] |
BUG/MEDIUM: mworker: avoid leak of client socket If the master was reloaded and there was a established connection to a server, the FD resulting from the accept was leaking. There was no CLOEXEC flag set on the FD of the socketpair created during a connect call. This is specific to the socketpair in the master process but it should be applied to every protocol in case we use them in the master at some point. No backport needed.