You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/08/25 22:09:22 UTC

[jira] [Commented] (PROTON-1291) calling close again on a closed endpoints marks it modified and emits the related event again

    [ https://issues.apache.org/jira/browse/PROTON-1291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437808#comment-15437808 ] 

ASF subversion and git services commented on PROTON-1291:
---------------------------------------------------------

Commit c089f7c54ee783238db4aef9a237c88e774312f1 in qpid-proton's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=c089f7c ]

PROTON-1291 Check local state on open / close calls

When open or close is called on an endpoint, check that the state
doesn't already reflect the request to avoid marking the endpoint as
modified when it shouldn't be

> calling close again on a closed endpoints marks it modified and emits the related event again
> ---------------------------------------------------------------------------------------------
>
>                 Key: PROTON-1291
>                 URL: https://issues.apache.org/jira/browse/PROTON-1291
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: 0.14.0
>            Reporter: Robbie Gemmell
>             Fix For: 0.15.0
>
>
> The trigger for noticing PROTON-1290 was that the endpoint was unexpectedly marked modified after being closed a second time, with the related close event also emitted a second time. Neither should occur in this case.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org