[
https://issues.apache.org/jira/browse/DISPATCH-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792962#comment-16792962
]
Gordon Sim commented on DISPATCH-1287:
--------------------------------------
If the client doesn't handle the drain request (e.g. in drainable.py if the
drained() call is removed or commented out) then credit behaves as expected.
> router gets confused by clients response to drain and subsequently issue too
> little credit
> ------------------------------------------------------------------------------------------
>
> Key: DISPATCH-1287
> URL: https://issues.apache.org/jira/browse/DISPATCH-1287
> Project: Qpid Dispatch
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: Gordon Sim
> Priority: Major
> Fix For: 1.6.0
>
> Attachments: drainable.py
>
>
> A sender is opened for an address on which there is a receiver. It sends one
> messages which is accepted. The receiver then detaches and the sender tries
> to send another message. This second message is released and the router
> attempts to drain the senders credit.
> The sender responds to the drain request by not sending any further messages
> but incrementing the delivery_count by the appropriate amount.
> If a receiver attaches on the address again after this point, the router
> issues credit back to the sender, but only issues link-credit=1.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]