Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for h2c (HTTP/2 over cleartext) #11116

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

Zuoqiu-Yingyi
Copy link
Contributor

@Zuoqiu-Yingyi Zuoqiu-Yingyi commented Apr 23, 2024

  • Please commit to the dev branch

提供对 h2c (HTTP/2 over cleartext) 的支持
Provides support for h2c (HTTP/2 over cleartext).

虽然目前主流的浏览器大都仅支持 h2 (HTTP/2 over TLS) 方案, 但是如果内核支持 h2c, 那么也能提高 Nginx 等 Web 服务器反向代理的效率
Although most mainstream browsers only support h2 (HTTP/2 over TLS), if the kernel supports h2c, it can also improve the efficiency of reverse proxies for web servers such as Nginx.

兼容 HTTP/1.1
Compatible with HTTP/1.1

REF: gin-gonic/gin#1398

已测试 | TESTED

@88250 88250 merged commit 25ac2c0 into siyuan-note:dev Apr 23, 2024
2 checks passed
@Zuoqiu-Yingyi Zuoqiu-Yingyi deleted the feat/http2-h2c branch April 23, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants