[ https://issues.apache.org/jira/browse/QPID-7688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross closed QPID-7688. ----------------------------- > SSL connections leak file descriptors > ------------------------------------- > > Key: QPID-7688 > URL: https://issues.apache.org/jira/browse/QPID-7688 > Project: Qpid > Issue Type: Bug > Components: C++ Client > Affects Versions: 0.32 > Environment: Linux CentOS 7 x86_64 > Reporter: Ben Steffensmeier > Priority: Major > Labels: SSL > > When using a c++ client, each time a connection is attempted with ssl an > extra socket is created that is not closed. This can cause the process to > exceed the maximum number of file descriptors allowed which results in a > crash in the qpid library. > This problem is especially obvious when the connection fails, because each > retry results in leaking another descriptor. > The extra socket is created in the SslSocket constructor on this line: > {code} > prototype = SSL_ImportFD(0, PR_NewTCPSocket()); > {code} > The resulting descriptor is never closed. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org