[
https://issues.apache.org/jira/browse/ARTEMIS-2059?focusedWorklogId=189176&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-189176
]
ASF GitHub Bot logged work on ARTEMIS-2059:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jan/19 20:21
Start Date: 23/Jan/19 20:21
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on issue #2274:
ARTEMIS-2059 NettyWritable should use UTF-8 exact length to encode strings
URL: https://github.com/apache/activemq-artemis/pull/2274#issuecomment-456951676
@franz1981 Can we close and reopen later once some more progress or
discussion is done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 189176)
Time Spent: 10m
Remaining Estimate: 0h
> NettyWritable should use UTF-8 exact length to encode strings
> -------------------------------------------------------------
>
> Key: ARTEMIS-2059
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2059
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Minor
> Fix For: 2.7.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> NettyWritable.put(String) tries to enlarge the buffer used to write a UTF-8
> string until ByteBufUtil.utf8MaxBytes.
> That means that it will fail or will enlarge any ByteBuf that is perfectly
> sized to contain the encoded string.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)