Qpid Proton
  1. Qpid Proton
  2. PROTON-277

dynamic flag on source/target is not handled correctly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      When the dynamic flag is set, the address must not be set. However if the address is not set then the engine always returns UNSPECIFIED for the terminus type. This means you can't correctly implement dynamic with the engine.

      (I currently have to put one char in the address to workaround the problem).

      1. PROTON-277-test.patch
        1 kB
        Gordon Sim
      2. PROTON-277-suggested-fix.patch
        0.9 kB
        Gordon Sim

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1497342 from Ken Giusti
          [ https://svn.apache.org/r1497342 ]

          PROTON-277: allow dynamic target to have an unspecified address

          Show
          ASF subversion and git services added a comment - Commit 1497342 from Ken Giusti [ https://svn.apache.org/r1497342 ] PROTON-277 : allow dynamic target to have an unspecified address
          Hide
          Gordon Sim added a comment -

          Attached possible fix and test to demonstrate the issue.

          Show
          Gordon Sim added a comment - Attached possible fix and test to demonstrate the issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development