You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/13 21:18:00 UTC

[jira] [Commented] (ARTEMIS-3990) AMQP NettyReadable buffer does not consume readable bytes on string reads

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

ASF subversion and git services commented on ARTEMIS-3990:
----------------------------------------------------------

Commit 289587f004ac46f7c175c9daa1585695cf9df917 in activemq-artemis's branch refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=289587f004 ]

ARTEMIS-3990 Ensure that readable buffer string read consumes the bytes

Ensures that when reading a string the readable buffer consumes the
bytes by advancing the read index as defined in the interface API docs.


> AMQP NettyReadable buffer does not consume readable bytes on string reads
> -------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3990
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3990
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.25.0
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Minor
>             Fix For: 2.25.1
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
>  The proton ReadableBuffer API defines that when reading a string the readable buffer should consume the bytes by advancing the read index as defined in the interface API docs.  The current implementation is not doing this which currently does not break the codec but code if future improvements remove the condition that prevents this from causing errors.



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