Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.14.0, 0.15.0
-
None
-
1
Description
Compressed messages are currently decompressed transparently by the SnappyDecoder Netty handler. This increases the messages size. When the message is acknowledged, the client ends up sending a too-large byte count, since it's ACKing the decompressed size instead of the original size.
A possible fix is to defer decompression until the client calls MessageUtil.getContent().
Attachments
For Gerrit Dashboard: JDCP-83 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
92669,2 | JDCP-83 Flow Control ACK size is incorrect when compression is enabled | master | java-dcp-client | Status: MERGED | +2 | +1 |