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

是否有gnet-http http2 quic http3等子项目? #381

Closed
2391003262 opened this issue Jun 24, 2022 · 5 comments
Closed

是否有gnet-http http2 quic http3等子项目? #381

2391003262 opened this issue Jun 24, 2022 · 5 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@2391003262
Copy link

是否有gnet-http http2 quic http3等子项目?

@2391003262 2391003262 added help wanted Extra attention is needed question Further information is requested labels Jun 24, 2022
@panjf2000
Copy link
Owner

个人暂时还没时间弄,欢迎贡献。

@2391003262
Copy link
Author

个人暂时还没时间弄,欢迎贡献。

许多http quic等库是通过net.Conn建立起来的,如果能把gnet跟net.Conn net.PackConn做适配,那么,基于gnet的相关库可以很快改出来。

@2391003262
Copy link
Author

个人暂时还没时间弄,欢迎贡献。

只是,我不清楚这样能不能做到。因为net.Conn是BIO,而gnet是事件驱动的。

@panjf2000
Copy link
Owner

Duplicate #311

@someview
Copy link

someview commented Oct 7, 2023

这个问题还没关闭啊,我们也有这个需求,采用gnet来作为quic协议的底层连接驱动库。不匹配的地方是quic没有提供asyncwrite,这和gnet当前的方式不太匹配。另外一点是,gnet是把addr 绑定在conn上面的, 而quic协议addr本身是可变的,这要求把addr从conn中解放出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants