Netty 简介Netty是一个java开源框架。Netty提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。 也就是说,Netty 是一个基于NIO的客户、服务器端编程框架,使用Netty 可以确保你快速和简单的开发出一个网络应用,例如实现了某种协议的客户,服务端应用。Netty相当简化和流线化了网络应用的编程开发过程,例如,TCP和UDP的socket服务开发。 4.0.35.Final更新内容The most important changes are: - Add support for TCP_DEFER_ACCEPT and TCP_QUICKACK (#4951)
- WebSocketHandshaker.finishHandshake could result in recursive channelRead event (#4533) (#4815)
- Enabling SNI, OpenSSL client from netty does not work (#4746) (#4791)
- Certificate failing set in OpenSslServerContext on Linux (#4793)
- Enable SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER when using OpenSslContext (#4816)
- OpenSslContext throws UnsupportedOperationException when Unsafe not available (#4828) (#4843)
- Correctly pass ChannelPromise on to the next ChannelOutboundHandler when use CombinedChannelDuplexHandler (#4838)
- Fix segfault if UnpooledUnsafeHeapByteBuf.getShort(..) is used and UNALGINED access is not possible. (#4845) (#4841)
- Ensure handlerAdded(...) and handlerRemoved(...) is always called from the right thread (#4863)
- Ensure read components can be discarded when COMPOSITE_CUMULATOR is used (#4880)
- Correctly set the alert type depending of the CertificateException (#4885)
- NetUtil can prevent using Netty due to SecurityManager denial (#4936) (#4977)
- Guard against re-entrance in PendingWriteQueue (#4969)
- Change arena to thread cache mapping algorithm to be closer to ideal (#4983)
- Ensure all pending SSL data is written before closing channel during handshake error (#5003)
- Add ! to allowed cookie value chars (#4998)
For the details and all changes, please browse our issue tracker.
(官方链接:http://netty.io/news/2016/03/21/4-0-35-Final.html) |