Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-850

inconsistent state when reusing link name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9.1, 0.10
    • Component/s: proton-c, python-binding
    • Labels:
      None

      Description

      If a link is closed, and a new link with the same name is created and opened, the attach received for the second link from the peer is applied to the old link.

      If the old link is freed after being closed, this is avoided, but I'm not sure that is possible via e.g. the python bindings.

      The root of the problem I think is that a handle is reused after the link is closed, whether freed or not, but when processing an incoming attach, it is the link name that is used to find the appropriate link, which iterates through all links until it matches one by name, which in this case is the old, closed link.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gsim Gordon Sim
                Reporter:
                gsim Gordon Sim
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: