http2-lawyers

Can I implements http/2 server without ALPN support?

这一生的挚爱 提交于 2019-12-02 00:18:17
问题 In this way, the client can connect the server without ALPN and use http/2 default. Is that possible? 回答1: Yes it is possible, but the conditions are strict. Browsers, as of now, do not implement clear-text communication for HTTP/2, so if you use a browser the answer to your question is no: you have to deploy your server with ALPN support if you want browsers to be able to connect. On the other hand, other clients such as Java clients may be able to connect to a server using clear-text HTTP/2

Can I implements http/2 server without ALPN support?

女生的网名这么多〃 提交于 2019-12-01 22:16:58
In this way, the client can connect the server without ALPN and use http/2 default. Is that possible? Yes it is possible, but the conditions are strict. Browsers, as of now, do not implement clear-text communication for HTTP/2, so if you use a browser the answer to your question is no: you have to deploy your server with ALPN support if you want browsers to be able to connect. On the other hand, other clients such as Java clients may be able to connect to a server using clear-text HTTP/2, so for those type of clients the answer to your question is yes: you can deploy a HTTP/2 server without