You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2015/10/19 14:16:05 UTC

[jira] [Created] (PROTON-1023) Incorrect handling of failed attach for BlockingConnection

Gordon Sim created PROTON-1023:
----------------------------------

             Summary: Incorrect handling of failed attach for BlockingConnection
                 Key: PROTON-1023
                 URL: https://issues.apache.org/jira/browse/PROTON-1023
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
    Affects Versions: 0.10
            Reporter: Gordon Sim
            Assignee: Gordon Sim
             Fix For: 0.11


Where the attach response and subsequent detach are separated a bit, the BlockingConnection attempts to wait a little for the detach to get the actual error condition. However the code for this uses the wrong method name, meaning the exception thrown would be incorrect ('AttributeError: _waitForClose not in _attrs', rather than a LinkDetached as expected). In addition, if the detach is not received a Timeout is raised rather than a LinkException with the local link being closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)