Chuck Rolke created PROTON-1035: ----------------------------------- Summary: [proton-c] Python binding mishandles connection close event Key: PROTON-1035 URL: https://issues.apache.org/jira/browse/PROTON-1035 Project: Qpid Proton Issue Type: Bug Components: python-binding Affects Versions: 0.10 Environment: qpid-dispatch tool qdstat client Reporter: Chuck Rolke Assignee: Chuck Rolke
Testing out policy-based connection rejection shows qdstat tool mis-interpreting the connection failure. The order of events on the wire is: {noformat} Client sends Open Router sends Open Close(Arguments: Error: { Condition: 'amqp:resource-limit-exceeded', Description: 'connection disallowed by local policy', Info: ''} {noformat} Then the qdstat tool fails with message: {noformat} AttributeError: 'ConnectionClosed' object has no attribute 'url' {noformat} The expectation is for the tool to show the condition/description from the Close performative. This issue was originally reported under DISPATCH-189 -- This message was sent by Atlassian JIRA (v6.3.4#6332)