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)