You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/25 22:52:00 UTC

[jira] [Commented] (PROTON-2524) protonj2 stream receiver does not always expand the credit window correctly

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

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

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

PROTON-2524 Ensure that StreamReceiver refills the credit window

Stream receiver need to refill the credit window as deliveries are
returned from receive calls when they are already completed and when a
streamed delivery receives the final transfer as well.  Also auto accept
should be actively accepting deliveries that have completed.  The credit
window replenishment for the standard receiver and the stream receiver
impl should be mostly the same.

> protonj2 stream receiver does not always expand the credit window correctly
> ---------------------------------------------------------------------------
>
>                 Key: PROTON-2524
>                 URL: https://issues.apache.org/jira/browse/PROTON-2524
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: protonj2
>    Affects Versions: protonj2-1.0.0-M4
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: protonj2-1.0.0-M5
>
>
> When a credit window is configured on the StreamReceiver instance and transfers arrive that are completed and not split across multiple frames the receiver can mishandle expanding the credit window as it should.  There is also some issues related to this behavior and auto-accept being enabled where the accept is held for longer than it should be.  The behavior should standardized around similar behaviors in the basic Receiver implementation when completed transfers arrived and are placed into the delivery queue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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