You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/09/20 22:26:00 UTC
[jira] [Resolved] (ARTEMIS-3465) BufferSplitter::split shouldn't
consume input buffer
[ https://issues.apache.org/jira/browse/ARTEMIS-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-3465.
-------------------------------------
Fix Version/s: 2.19.0
Resolution: Fixed
> BufferSplitter::split shouldn't consume input buffer
> -----------------------------------------------------
>
> Key: ARTEMIS-3465
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3465
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 2.18.0
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Blocker
> Fix For: 2.19.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> ARTEMIS-3297 introduced a split method that has never been used until ARTEMIS-3449 used direct buffers to append bytes on large messages: the split method was already broken, because was consuming its input buffer. The split method should behave similarly to the byte[] version ie without modifying its input.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)