Ben Steffensmeier created QPID-7688:
---------------------------------------
Summary: 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
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
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]