[ 
https://issues.apache.org/jira/browse/PROTON-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominic Evans updated PROTON-763:
---------------------------------
    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

  was:
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


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



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

Reply via email to