Netty 4.0.32.Final 发布了,该版本包含超过 30 项变化,包括 bug 修复、提升和新特性。最值得关注的改进有:
- Discard read bytes after X reads to guard against OOME.(#4281) (#4275)
- Correctly reset markers for all allocations when using PooledByteBufAllocator(#4278)
- Ensure OpenSslEngine.unwrap(...) / wrap(...) correctly return HandshakeStatus.FINISHED (#4263)(#4235)
- Shutdown socket before close fd when using epoll transport (#4170) (#4275)
- Correctly set EPOLLOUT flag whe writeBytes(...) was not able to write everything (#4216) (#4205)
- Add support for RFC7413 on linux for server sockets (#4196)
- Add support for RFC2385 on Linux (#4173)
完整列表请看 our issue tracker.
特别注意:
该版本包含两个新的 EpollChannelOptions 可用于使用原生的 epoll 传输层。
EpollChannelOption.TCP_FASTOPEN => TCP Fast Open 允许数据使用 SYN 和 SYN-ACK 包方式传输。
EpollChannelOption.TCP_MD5SIG => 启用 TCP MD5 认证。
Netty 的详细介绍:请点这里
Netty 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-10/123700.htm
