4.2.0
Changes between 4.1.1 and 4.2.0
This is a maintenance release that includes 2 new features. It's backward compatible with 4.1.x. Users of the 4.0.x and 4.1.x series are encouraged to use this release.
Introduce SSLEngine configuration hook for NIO
It's now possible to configure the SSLEngine
used for a secured connection just after its creation. This can be useful to pass in SSLParameters
to configure e.g. server's SNI hosts. The new interface is SslEngineConfigurator
and an instance can be set in NioParams
.
GitHub issue: #274
Add option to ensure RPC reply is for the current request
During node failover and connection recovery, a timed out RPC reply can come back while a second RPC request is waiting. This can cause ClassCastException
s. It's now possible to enable the ConnectionFactory#channelShouldCheckRpcResponseType
to perform a "best-effort" check of RPC replies and ignore non-compatible replies. The default value of the flag is false
(no check by default).
Thanks to @vikinghawk for this contribution.
GitHub issue: #290