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

Justin Ross updated PROTON-40:
------------------------------
    Labels: api close-pending  (was: api)

> Detect and report errors for accessing settled deliveries
> ---------------------------------------------------------
>
>                 Key: PROTON-40
>                 URL: https://issues.apache.org/jira/browse/PROTON-40
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Ted Ross
>            Priority: Minor
>              Labels: api, close-pending
>
> If a proton client calls pn_disposition on more than one received delivery 
> between the sending of disposition frames, the next disposition frame will 
> reference only the first message in the batch.
> Ref:  This code fragment from pn_post_disp which uses the same value for 
> first and last id:
>     return pn_post_frame(transport->disp, ssn_state->local_channel, 
> "DL[oIIo?DL[]]", DISPOSITION,
>                          link->endpoint.type == RECEIVER, state->id, 
> state->id,
>                          delivery->local_settled,
>                          (bool)code, code);
> The result of this is that dispositions for messages are lost and senders 
> hang if there are credit windows of greater than one.  It would be ok, but 
> inefficient, to send multiple singleton dispositions.  In fact, proton simply 
> skips one or more disposition so the settlement of messages is incomplete.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to