You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lukas (Jira)" <ji...@apache.org> on 2019/10/17 15:21:00 UTC

[jira] [Created] (PROTON-2121) python-qpid-proton 0.28 BlockingConnection leaks connections (does not close file descriptors)

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org