gin icon indicating copy to clipboard operation
gin copied to clipboard

Can gin support HTTP/3?

Open snowdream opened this issue 3 years ago • 9 comments

Description

Can gin support HTTP/3?

Environment

  • go version go1.15.2 darwin/amd64
  • gin version (or commit ref): v1.6.3
  • operating system: macOS

snowdream avatar Oct 09 '20 01:10 snowdream

related: https://github.com/golang/go/issues/32204

thinkerou avatar Oct 09 '20 11:10 thinkerou

@thinkerou while waiting for an official decision from the GO team, actually it doesn't look like this is a priority there, maybe the existing implementation from https://github.com/lucas-clemente/quic-go can be used. As I have seen a few large GO projects use this library already, namely traefik and caddy. As http/3 changes the connection from tcp to udp it would be good to gain experiences with this before it is really mainstreamed. Well, a short google search leads to the fact that about 23 % of all websites are already using http/3. Probably behind services like Cloudflare which implement this via reverse proxying, but nevertheless. What do you think about it?

iFrozenPhoenix avatar Nov 15 '21 13:11 iFrozenPhoenix

experimental support, please see #3210

thinkerou avatar Jun 26 '22 12:06 thinkerou

Any updates?

vrnvu avatar Apr 06 '23 12:04 vrnvu

any updates? want to have a rc version 😄

PoacherBro avatar Apr 26 '23 00:04 PoacherBro

@PoacherBro I will continue #3210 PR.

appleboy avatar Apr 26 '23 02:04 appleboy

Waiting for https://github.com/golang/go/issues/58547 QUIC implementation

appleboy avatar Jan 05 '24 14:01 appleboy

Hi guys, author maintainer of quic-go here 👋

Have you considered using quic-go for your HTTP/3 support? quic-go is a mature and optimized QUIC stack that, among many many others, is powering HTTP/3 support in the Caddy webserver.

Happy to help out or to give pointers, if there's interest. Just let me know :)

marten-seemann avatar Feb 13 '24 01:02 marten-seemann

Hi guys, author maintainer of quic-go here 👋

Have you considered using quic-go for your HTTP/3 support? quic-go is a mature and optimized QUIC stack that, among many many others, is powering HTTP/3 support in the Caddy webserver.

Happy to help out or to give pointers, if there's interest. Just let me know :)

Someone made a start over here. But it was never seen through: https://github.com/gin-gonic/gin/pull/3210#issue-1284903696

maggie44 avatar Feb 13 '24 22:02 maggie44