Alan Conway created DISPATCH-1045:
-------------------------------------

             Summary: Sometimes close connetion after releasing partial 
multi-frame messsage
                 Key: DISPATCH-1045
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1045
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Router Node
    Affects Versions: 1.1.0
            Reporter: Alan Conway


Since DISPATCH-1012 the router releases undeliverable deliveries.

In the case of a multi-frame delivery, it is possible for dispatch to release 
it before the entire delivery has been received. Presently dispatch settles 
such deliveries and advances its link. That means that if another transfer for 
the same delivery arrives, dispatch regards it as a new message with an invalid 
delivery-id and closes the connection. Since the release is asynchronous, 
there's no way for the client to avoid this possibility.

Worth checking the spec but I suspect we should be dropping the extra data 
rather than closing the connection. Need to investigate how this would work in 
proton - I think we'd update the delivery without settling it and then wait for 
the remote to settle before finally throwing it away.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to