Netty 4.1.22.Final 已发布,该版本包含错误修复、性能增强和新功能,建议升级。
主要的变更:
[list][*]To detect Android, check the VM property rather than the classpath (#7679)
[*]Propagate full Unsafe unavailability reason in PlatformDependent (#7684)
[*]Use long for http2 ping payload (#7690)
[*]Introduce an alternative IdentityCipherSuiteFilter that defaults to supportedCiphers (#7691)
[*]Reduce the default number of objects retained by the Recycler per thread (#7701)
[*]Bump Conscrypt version to 1.0.0 (#7703)
[*]ByteBufUtil to not pool direct memory by default (#7704)
[*]NioDatagramChannel invalid usage of internalNioBuffer (#7705)
[*]Http2MultiplexCodec now propagates SETTINGS and GOAWAY frames in pipeline (#7711)
[*]Correctly handle the case when converting of value fails and return null or default value (#7715)
[*]DefaultHeaders / CharSequenceValueConverter should treat boolean consistently (#7720)
[*]Get memory address from Unsafe for OpenSSL (#7725)
[*]SSL connection not closed properly after handshake failure (#7727)
[*]Epoll flush/writabilityChange deadlock (#7730)
[*]Fix Snappy decoding of large 2-byte literal lengths and copy offsets (#7731)
[*]Ensure we always release the AddressEnvelope when doing DNS queries. (#7734)
[/list]有关详细信息和所有变更内容,请浏览 4.1.22.Final 的问题跟踪器。
重要的变更
HTTP2
该版本将 ping 帧的有效载荷类型由 ByteBuf 改为 long,因为这样可以简化事务,并且 RFC 中关于有效负荷的定义一直是 8 字节。
发布说明:http://netty.io/news/2018/02/21/4-1-22-Final.html
来自:开源中国社区