GitHub user fr0stbyte opened a pull request:
https://github.com/apache/zookeeper/pull/407
[ZOOKEEPER-2338] - set SOCK_CLOEXEC on socket if defined
This addresses the issue in
https://issues.apache.org/jira/browse/ZOOKEEPER-2338 preventing the sockets to
leak into the forked children
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fr0stbyte/zookeeper radu/cloexec_on_c_client
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/407.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #407
----
commit 431742cd8f1726c17e3afdedf553b79663294177
Author: Radu Brumariu <[email protected]>
Date: 2017-10-25T18:24:17Z
[ZOOKEEPER-2338] - set SOCK_CLOEXEC on socket if defined
----
---