[ https://issues.apache.org/jira/browse/ZOOKEEPER-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261485#comment-16261485 ]
ASF GitHub Bot commented on ZOOKEEPER-2338: ------------------------------------------- Github user fr0stbyte commented on the issue: https://github.com/apache/zookeeper/pull/410 @phunt both options seem fine to me. I think would prefer the first one, that way if the library remains ABI compatible, the clients won't need to recompile. > c bindings should create socket's with SOCK_CLOEXEC to avoid fd leaks on > fork/exec > ---------------------------------------------------------------------------------- > > Key: ZOOKEEPER-2338 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2338 > Project: ZooKeeper > Issue Type: Bug > Components: c client > Reporter: James DeFelice > > I've observed socket FD leaks in Apache Mesos when using ZK to coordinate > master leadership: https://issues.apache.org/jira/browse/MESOS-4065 -- This message was sent by Atlassian JIRA (v6.4.14#64029)