elecharny commented on PR #52:
URL: https://github.com/apache/mina/pull/52#issuecomment-4679493215
Hi @ppkarwasz,
seems like a mistake slipped into the release version...
The deflater is now working as an inflater:
```
Zlib deflater = new Zlib(compressionLevel, Zlib.MODE_INFLATER,
maxDecompressedSize,
maxDecompressRatio, decompressRatioMinSize);
Zlib inflater = new Zlib(compressionLevel, Zlib.MODE_INFLATER,
maxDecompressedSize,
maxDecompressRatio, decompressRatioMinSize);
```
The mode is set to `Zlib.MODE_INFLATER` instead of ` Zlib.MODE_DEFLATER`. I
guess we don't need the three parameters in this mode.
I'm going to get it fixed ASAP. Which means a new (triple) release :-/
I should have been more thorough when reviewing the PR...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]