Netty 4.0.46.Final 和 4.1.10.Final 发布了,这些版本包含错误修复,性能增强和一些新功能,建议升级。Netty 4.0.46.Final 和 4.1.10.Final 有如下重要的更新:
- NetUtil IPv6 bugs related to IPv4 and compression (#6613)
- Enable configuring available processors (#6224)
- Add support for SNIMatcher when using SslProvider.OPENSSL* and Java8+ (#6534)
- Fix buffer leak in local transport when a close triggers the close of a remote peer and there are still messages in the inbound buffer. (#6650)
- Fix IllegalArgumentException when release a wrapped ByteBuffer on Java9 (#6644)
- VoidChannelPromise not notified when exception is thrown. (#6634)
- Correctly handle read-only ByteBuf in ByteToMessageDecoder (#6639)
- Allow to free direct buffers on java9 again (#6568)
- NioEventLoop#rebuildSelector0 throws ClassCastException (#6608)
- Fix OpenSslCertificateException error code validation (#6581)
- Limit the maximum size of the allocated outbound buffer to MAX_ENCRYPTED_PACKET_LENGTH (#6569)
- Allow negative memoryAddress when calling PlatformDependent0.newDirectBuffer(…) (#6575)
- Recognizing TLS Extension “HeartBeat” as Valid TLS Packet (#6529)
仅属于 4.1.10.Final 的重要更新:
- Notify connect promise of ProxyHandler after codecs are removed (#6672)
- Ability to extend SniHandler and configure it with arbitrary runtime data (#6623)
- Do not throw ClassCastException when rule subnet version doesn’t match remote IP version (#6658)
- Fix HTTP/2 dependency tree corruption (#6654)
- Avoid infinite loop in HTTP/2 distributor toString() (#6655)
- Use jndi-dns to obtain default name servers (#6590)
- netty-codec: Manage read-flow explicitly in MessageAggregator (#6604)
- Accept two ways to start HTTP/2 over clear text(version 2) (#6496)
4.0.46.Final 和 4.1.10.Final 的详细更新日志
Netty是一个 Java 的开源高性能网络应用框架框架。Netty提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。
也就是说,Netty 是一个基于NIO的客户、服务器端编程框架,使用Netty 可以确保你快速和简单的开发出一个网络应用,例如实现了某种协议的客户,服务端应用。Netty相当简化和流线化了网络应用的编程开发过程,例如,TCP和UDP的socket服务开发。
转自 http://www.oschina.net/news/84361/4-0-46-final-4-1-10-final