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

🤗 [Question]: Is fiber currently supports http 2.0 or if isn't when it will support? #2602

Closed
3 tasks done
Necoo33 opened this issue Aug 25, 2023 · 5 comments
Closed
3 tasks done

Comments

@Necoo33
Copy link

Necoo33 commented Aug 25, 2023

Question Description

Hello, as being a experienced express.js developer i want to use your framework on my projects and i want to know the current status about supporting http 2.0. If i need to use multiple goroutines in my app will it be a problem if isn't support http 2.0, if it will be a problem then is there any workaround for that?

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.
@welcome
Copy link

welcome bot commented Aug 25, 2023

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@efectn
Copy link
Member

efectn commented Aug 25, 2023

It won't be supported unless fasthttp gets http2 support. And i can say fasthttp won't get proper http2 support in the near future.

valyala/fasthttp#144 (comment)
valyala/fasthttp#144 (comment)

@Necoo33
Copy link
Author

Necoo33 commented Aug 25, 2023

It won't be supported unless fasthttp gets http2 support. And i can say fasthttp won't get proper http2 support in the near future.

valyala/fasthttp#144 (comment) valyala/fasthttp#144 (comment)

thanks for answer. I find an implementation, in this link:

https://github.com/dgrr/http2

Do you consider adopt this? If i was experienced i do it myself but unfortunately i'm not.

@efectn
Copy link
Member

efectn commented Aug 25, 2023

It won't be supported unless fasthttp gets http2 support. And i can say fasthttp won't get proper http2 support in the near future.
valyala/fasthttp#144 (comment) valyala/fasthttp#144 (comment)

thanks for answer. I find an implementation, in this link:

https://github.com/dgrr/http2

Do you consider adopt this? If i was experienced i do it myself but unfortunately i'm not.

It's unmaintained and has some issues

@gaby
Copy link
Member

gaby commented Aug 26, 2023

@Necoo33 You don't need HTTP/2 to run goroutines within your Fiber app.

For most use cases you can have NGINX, Traefik, Caddy, or any other reverse proxy with HTTP/2 support in front of your Fiber app.

@efectn efectn closed this as completed Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants