You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Dominic Evans (JIRA)" <ji...@apache.org> on 2014/12/02 15:50:12 UTC

[jira] [Created] (PROTON-763) proton-c: pn_messenger_stop closes all links (detach w/ close=true) regardless of TTL / expiry

Dominic Evans created PROTON-763:
------------------------------------

             Summary: proton-c: pn_messenger_stop closes all links (detach w/ close=true) regardless of TTL / expiry
                 Key: PROTON-763
                 URL: https://issues.apache.org/jira/browse/PROTON-763
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.8
            Reporter: Dominic Evans


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/844d0b21ef9e757f584



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)