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

ASF subversion and git services commented on PROTON-2826:
---------------------------------------------------------

Commit 1ead4dea40a3af59af2fbfc4a536c08304951f43 in qpid-protonj2's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-protonj2.git;h=1ead4dea ]

PROTON-2826 Remove timed out sends from blocked queue

Ensure that sends that time out waiting for credit are removed from the
blocked queue and also abort any partial send that was blocked waiting
for credit to ensure no leak of deliveries from the sender link.


> ClientSender resends timed out message
> --------------------------------------
>
>                 Key: PROTON-2826
>                 URL: https://issues.apache.org/jira/browse/PROTON-2826
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M20
>            Reporter: Arnaud Cogoluègnes
>            Assignee: Timothy A. Bish
>            Priority: Minor
>
> A message that timed out stays in {{ClientSender#blocked}} and the 
> {{handleCreditStateUpdated}} method tries to send it again. The operation 
> fails because the envelope buffer has been closed.
> The message should be removed from the {{blocked}} data structure when it 
> times out or its state should be checked and it should be discarded 
> accordingly in {{{}handleCreditStateUpdated{}}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to