[ 
https://issues.apache.org/jira/browse/DISPATCH-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795336#comment-16795336
 ] 

ASF subversion and git services commented on DISPATCH-1287:
-----------------------------------------------------------

Commit 0f7d271d5f49357d72abd05df4ba15fe4f5d4378 in qpid-dispatch's branch 
refs/heads/master from Gordon Sim
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=0f7d271 ]

DISPATCH-1287: when sender has indicated credit is drained, pending credit can 
be reset


> 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]

Reply via email to