You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2014/12/18 00:15:13 UTC

[jira] [Updated] (QPID-6277) [C++ Broker, AMQP1.0] Broker fails to detect stolen link attempt

     [ https://issues.apache.org/jira/browse/QPID-6277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuck Rolke updated QPID-6277:
------------------------------
    Attachment: qpidd-broker-ignores-link-steal-attempt.htm

Protocol trace


> [C++ Broker, AMQP1.0] Broker fails to detect stolen link attempt
> ----------------------------------------------------------------
>
>                 Key: QPID-6277
>                 URL: https://issues.apache.org/jira/browse/QPID-6277
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.30
>         Environment: Linux broker
>            Reporter: Chuck Rolke
>         Attachments: qpidd-broker-ignores-link-steal-attempt.htm
>
>
> A client program opens two identically named links to the same container. AMQP spec section 2.6.1 describes the link *stolen* link error state but that might not apply here. The broker is free not to honor the second attach request but if it does then the incoming attach should get an error. As it is the failed attach request is simply ignored.
> The attached trace shows Frame 44 delivering the first attach which is accepted. Frame 59 shows the attach which is ignored.
> The proton subsystem delivers the @attach(18) frame to the broker. In Connection :: Process() line 354 Frame 44 is intercepted because a link REQUIRES_OPEN. Frame 59 skips the link_open processing and goes directly to processDeliveries(). 



--
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