adgh 不支持h2c? #3983
adgh 不支持h2c?
#3983
Replies: 1 comment 4 replies
-
AGH 确实不支持 H2C。如果你不用 TLS 就需要用 HTTP/1.1. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
adgh 不支持h2c?我网站用了http2,但是采用h2c

在官方文档中,为HTTP/2协议定义了两个版本:h2 和 h2c:
h2版本的协议是建立在TLS层之上的HTTP/2协议,这个标志被用在TLS应用层协议协商(TLS-ALPN)域和任何其它的TLS之上的HTTP/2协议。
h2c版本是建立在明文的TCP之上的HTTP/2协议,这个标志被用在HTTP/1.1的升级协议头域和其它任何直接在TCP层之上的HTTP/2协议。
Beta Was this translation helpful? Give feedback.
All reactions