您的位置:首页 > 理论基础 > 计算机网络

http2

2016-05-06 15:13 281 查看
http2 :

1.Java对http2的实现

1.1 官方Java(oracle JDK ,最新是JDK8)仍未支持http2. 到JDK9会支持.

1.2 OpenJDK,最新版是JDK8,仍未支持http2.到JDK9会支持. JDK9的发布预期是2017/03/23.
http://openjdk.java.net/jeps/110 http://openjdk.java.net/jeps/244 http://openjdk.java.net/projects/jdk9/     

1.3 Jetty9.3及以上: 实现了http2的客户端和服务器端
https://www.eclipse.org/jetty/documentation/current/http2-configuring-haproxy.html[此文档较老,关于Nginx和Apache未实现http2的论断不正确] http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/?h=master
1.4 著名的开源Apache Java http客户端项目Apache httpclient还未实现http2

1.5 开源okttp用java实现了http2,可用于Java客户端,也可用于安卓手机端.并自带一个http2服务器模拟器用于测试。
https://github.com/square/okhttp
1.6 开源基于Java的通讯框架Netty4.1及以上实现了http2.可用于Java客户端或者服务器端.
http://netty.io/
1.7 开源Tomcat仍不支持http2
http://tomcat.apache.org/
2.常见的web服务器、代理服务器/负载均衡器对http2的实现

2.1 著名的Nginx在1.9.5或以上版本已经实现了http2
https://www.nginx.com/blog/nginx-1-9-5/
2.2 著名的开源Apache httpd在2.4.17或以上实现了http2
http://httpd.apache.org/
2.3 开源Loadbalancer软件HAproxy实现了http2
http://www.haproxy.com/
3.客户端对http的实现

3.1 作为客户端的浏览器 chrome最新版,Mozilla Firefox最新版, IE10及以上已经实现了http2

3.2 作为Linux命令行工具的curl在7.47.1及以上实现了http2.
https://curl.haxx.se/
windows上安装curl, 去下载页 https://curl.haxx.se/download.html 选择合适windows版本下载(win7 64bit选择 Win64 x86_64 7zip)
https://akamai.bintray.com/65/65c8f3e08f31ea5016d15c868e687eed17d66c9512a0490e5b15578e1945f811?__gda__=exp=1457340328~hmac=fb1f6af9cee3a514f9883a6b43b6bac16a8b10925af5156f2d9714c87555ccf7&response-content-disposition=attachment%3Bfilename%3D%22curl-7.47.1-win64-mingw.7z%22&response-content-type=application%2Fx-www-form-urlencoded
4.其他对http2的实现

scala,http2服务器:https://github.com/http4s/blaze

nghttp,基于C语言实现的http2:https://nghttp2.org/

网络抓包工具wireshark,1.11.x及以上实现了http2: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9042
nodeJS用javascript实现了http2的服务器和客户端 : https://github.com/molnarg/node-http2
详细的http2实现参考:https://github.com/http2/http2-spec/wiki/Implementations
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: