内容简介:Firefly v4.6.1提升了网络框架的性能,并修复了一些bug。当您在慢速网络上发送数据时,下次发送时将自动合并保存在缓冲区队列中的数据,减少注册写事件的数量和线程上下文切换的开销。 在这个版本中,我们设置Ope...
Firefly v4.6.1提升了网络框架的性能,并修复了一些bug。当您在慢速网络上发送数据时,下次发送时将自动合并保存在缓冲区队列中的数据,减少注册写事件的数量和线程上下文切换的开销。
在这个版本中,我们设置OpenSSL是默认的SSL引擎提供者。并添加了一个新的SSL引擎Google Conscrypt支持,Conscrypt目前还处于实现性阶段,使用方式如下:
public class HTTPsServerDemo {
public static void main(String[] args) throws Exception {
Path path = Paths.get(HTTPsServerDemo.class.getResource("/").toURI());
$.httpsServer(new ConscryptSecureSessionFactory())
.router().get("/").handler(ctx -> ctx.end("hello world!"))
.router().get("/static/*")
.handler(new StaticFileHandler(path.toAbsolutePath().toString()))
.listen("localhost", 8081);
}
}Conscrypt是一个Java Security Provider,它实现了部分 Java 加密扩展(JCE)和Java安全套接字扩展(JSSE)。它使用BoringSSL为Java应用程序提供密码原语和传输层安全性(TLS)。最新的版本是1.0.0.RC13。在我们的测试中仍然存在一些兼容性问题。
更新日志:
改善网络 工具 的性能。
设置OpenSSL是默认的SSL引擎提供者。
修复SSL握手时状态判断错误。
修复连接超时时关闭的TCP连接异常。
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Mozilla Firefox 56.0.2 正式版发布,Bug 修复
- OpenRASP v1.1 正式版发布,降低内存占用,修复多个问题
- OpenRASP v1.1 正式版发布,降低内存占用,修复多个问题
- React 17 正式版发布
- Eclipse 4.9 正式版发布!
- PyCharm 2018.3 正式版发布!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Twenty Lectures on Algorithmic Game Theory
Tim Roughgarden / Cambridge University Press / 2016-8-31 / USD 34.99
Computer science and economics have engaged in a lively interaction over the past fifteen years, resulting in the new field of algorithmic game theory. Many problems that are central to modern compute......一起来看看 《Twenty Lectures on Algorithmic Game Theory》 这本书的介绍吧!