Ted Ross created PROTON-40:
------------------------------

             Summary: Batching of message IDs in Disposition frames not 
supported
                 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: Critical


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to