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

什么时候能支持http2 #2120

Closed
wsy998 opened this issue Sep 10, 2022 · 10 comments
Closed

什么时候能支持http2 #2120

wsy998 opened this issue Sep 10, 2022 · 10 comments
Labels
discuss We need discuss to make decision. inactive

Comments

@wsy998
Copy link
Contributor

wsy998 commented Sep 10, 2022

什么时候能支持http2

@inmoonglow
Copy link

同问...

@gqcn
Copy link
Member

gqcn commented Jan 18, 2023

这块需求似乎并不高。

@gqcn gqcn added the discuss We need discuss to make decision. label Jan 18, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2023
@ghost
Copy link

ghost commented Aug 11, 2024

这块需求似乎并不高。

感觉还是有需要, 为了支持http2, 我现在是额外加个反向代理. 主要是gf文档太好了, 我就舍弃gin

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The demand for this area does not seem to be high.

I still feel that it is necessary. In order to support http2, I am adding an additional reverse proxy. Mainly because the gf document is too good, so I will abandon gin.

@ghost
Copy link

ghost commented Aug 11, 2024

这块需求似乎并不高。

需求不高, 是因为国内很多人根本不知道有http2, 天天窝着干活, 都认为停留在1.1

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The demand for this area does not seem to be high.

The demand is not high because many people in China don’t even know that http2 exists. They work hard every day and think it’s stuck at 1.1.

@sanrentai
Copy link
Contributor

使用go的标准库可以很容易就实现了http2。但在把ghttp.Server()作为Handler传给标准库的时候,在访问后会出现很多空指针,原因是ghttp在Start的时候会初始话很多变量。 @gqcn

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


http2 can be easily implemented using go's standard library. But when ghttp.Server() is passed to the standard library as a Handler, many null pointers will appear after accessing it. The reason is that ghttp will initialize many variables when Start. @gqcn

@nuan1989
Copy link

nuan1989 commented Feb 6, 2025

感觉还是希望有官方的支持, http2还是有意义的. 我现在也是只能加个反向代理

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I still hope to have official support, http2 is still meaningful. I can only add a reverse proxy now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss We need discuss to make decision. inactive
Projects
None yet
Development

No branches or pull requests

6 participants