Chuck Rolke created QPID-6277:
---------------------------------

             Summary: [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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to