GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2274
ARTEMIS-2059 NettyWritable should use UTF-8 exact length to encode strings
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-2059
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2274.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2274
----
commit c5dda70250cc7cafb5779e99ad9f70619afc964d
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-08-28T13:57:19Z
ARTEMIS-2059 NettyWritable should use UTF-8 exact length to encode strings
----
---