Netty 4.1.31.Final 发布,经典开源 Java 网络服务框架

栏目: 后端 · 发布时间: 7年前

内容简介:Netty 4.1.31.Final重要的变更内容:

Netty 4.1.31.Final 发布了 ,该版本包含错误修复,以及一些重要的改进和性能提升。除此之外,还提供了对 TLSv1.3 的支持(通过  Java 11 或 netty-tcnative / netty-tcnative-boringssl-static 实现 )。

重要的变更内容:

  • Fix leak and corruption bugs in CompositeByteBuf ( #8438 )

  • Optimize AbstractByteBuf.getCharSequence() in US_ASCII case ( #8392 )

  • (fix) incorrect reachability assumption in ResourceLeakDetector ( #8410 )

  • Correctly detect if KeyManagerFactory is supported by OpenSSL even when sun.security.x509.* can not be accessed and bouncycastle is not on the classpath. ( #8415 )

  • Reduce overhead by ByteBufUtil.decodeString(...) which is used by AbstractByteBuf.toString(...) and  AbstractByteBuf.getCharSequence(...) ( #8388 )

  • CompositeByteBuf.decompose(...) does not correctly slice content ( #8403 )

  • Allow to use TLSv1.3 with netty-tcnative withe java versions prior to 11 ( #8394 )

  • Add support for TLSv1.3 #8293 )

  • Add support for boringssl and TLSv1.3 ( #8412 )

  • Ensure OpenSslEngine will not try to call SSL_free multiple times even when constructor throws #8399 )

  • Add full JdkSslContext public constructor #8389 )

  • Prevent NPE when attempting to set client key material with no alias #8378 )

  • epoll_wait produces an EINVAL error since 4.1.30 #8350 )

  • Correctly parse /etc/resolv.conf when contain multiple entries for searchdomain #8351 )

  • Correctly decrement pending bytes when submitting AbstractWriteTask fails #8349 )

  • Fix SelectableChannel support in NioEventLoop #8344 )

  • Added option to do busy-wait on epoll #8267 )

  • Ensure X509KeyManager methods are called on the correct time when using server-side and support more methods of ExtendedSSLSession #8283 )

  • Do the same extended checks as the JDK when a X509TrustManager is used with the OpenSSL provider #8307 )

查看 4.1.31.Final 的 issue 追踪 了解更多细节。

支持 TLSv1.3

在这个版本中,开发团队以各种方式添加了对它的支持,当一下任何一个条件满足时:

  • 使用 Java 11 或更高版本

  • 使用 netty-tcnative(针对 OpenSSL 1.1.1+ 构建)和 Java8 +

  • 使用 netty-tcnative-boringssl-static 和 Java8 +

即可启用 TLSv1.3。也就是说默认情况下没有启用 TLSv1.3 ,所以如果你想使用它,你需要在配置 SslContextBuilder 时显式启用它以使用 TLSv1.3。

下载地址 http://netty.io/downloads.html

Netty 是一个 Java 开源框架。Netty 提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

可用性工程

可用性工程

尼尔森 / 刘正捷 / 机械工业出版社 / 2004-1 / 28.00元

《可用性工程》系统地介绍可用性工程,被国际可用性工程界一致推崇为该领域的最佳入门书籍。《可用性工程》着重讲述了能取得良好成本效益的可用性方法,并详细介绍了在软件开发生命周期的不同阶段如何运用这些方法,以及其他与可用性相关的特殊问题。一起来看看 《可用性工程》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具