Lukas created PROTON-2121:
-----------------------------
Summary: python-qpid-proton 0.28 BlockingConnection leaks
connections (does not close file descriptors)
Key: PROTON-2121
URL: https://issues.apache.org/jira/browse/PROTON-2121
Project: Qpid Proton
Issue Type: Bug
Affects Versions: proton-c-0.28.0
Reporter: Lukas
Starting in proton 0.28.0 and verified in 0.29.0b1 (pre-release) I can confirm
following issue:
{code:java}
from proton.utils import BlockingConnection
c = BlockingConnection(YOUR_ADDRESS)
c.close()
# ^^ FINE, all file descriptors closed properly
from proton.utils import BlockingConnection
c = BlockingConnection(YOUR_ADDRESS)
s = c.create_sender(YOUR_EXCHANGE)
s.close()
c.close()
# ^^ leaks the socket file descriptor - connection not closed properly (ls
/proc/YOUR_PID/fd to verify){code}
Version 0.27.0 is *not* affected by this issue.
Having a quick look at the proton bindings, this very well might be bug in the
qpid proton library itself, not the python bindings!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]