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

proton-c: pn_messenger_stop closes all links (detach w/ close=true) regardless of TTL / expiry

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: proton-0.8
    • Fix Version/s: None
    • Component/s: proton-c
    • Labels:

      Description

      As discussed on IRC. https://issues.apache.org/jira/browse/PROTON-677 (git commit 111568af for reference) reworked the fix to add an explicit pn_link_detach. However, pn_messenger_stop will call pn_link_close for all links regardless of expiry/ttl. Ideally it should pn_link_detach for receiver links with expiry_policy PN_EXPIRE_NEVER or timeout>0

      Patch available at:
      https://gist.github.com/dnwe/844d0b21ef9e757f584b

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dnwe Dominic Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: