You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/19 15:19:05 UTC
[jira] [Commented] (PROTON-1023) Incorrect handling of failed
attach for BlockingConnection
[ https://issues.apache.org/jira/browse/PROTON-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963286#comment-14963286 ]
ASF subversion and git services commented on PROTON-1023:
---------------------------------------------------------
Commit ea52a2742e9e2e1607dcb1090e52a6a49bef8aa1 in qpid-proton's branch refs/heads/master from [~gsim]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=ea52a27 ]
PROTON-1023: fix handling of detach following attach for BlockingConnection
> 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)