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 提供异步的、事件驱动的网络应用程序框架和工具,用以快速开发高性能、高可靠性的网络服务器和客户端程序。


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

查看所有标签

猜你喜欢:

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

活着就为改变世界

活着就为改变世界

[美] 杰弗里·扬、威廉·西蒙 / 蒋永军 / 中信出版社 / 2010-6 / 39.00元

内容简介 苹果公司CEO史蒂夫•乔布斯这个一直活在自己想象的世界里的创业奇才,经历过各种挫折与失落,但他那无所畏惧、敢于承担的个性让他一直努力实践着自己的价值观,总能为他的离奇想法找到解决问题的办法。 本书两位作者通过深入访谈和资料调查,揭秘了许多乔布斯个人的创业经历和家庭变故,为大家塑造了一个活生生的“乔布斯式”的鲜活人物,描述了一个个充满传奇色彩的商业奇迹,真实地再现了乔布斯几十年......一起来看看 《活着就为改变世界》 这本书的介绍吧!

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

在线压缩/解压 JS 代码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试