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

Is there any plan for Gunicorn to support HTTP/2? #3304

Closed
bonohubby opened this issue Oct 1, 2024 · 2 comments
Closed

Is there any plan for Gunicorn to support HTTP/2? #3304

bonohubby opened this issue Oct 1, 2024 · 2 comments

Comments

@bonohubby
Copy link

Thank you for developing Gunicorn.
We have been using it for a long time and are very satisfied with it.

Could you let me know if there are any plans for Gunicorn to support HTTP/2?

Thank you.

@pajod
Copy link
Contributor

pajod commented Oct 3, 2024

It was at some point planned: #1195 (comment)

Please keep in mind that later HTTP versions provide substantial attack surface for misbehaving clients to consume unreasonable resources on the server. Currently even the simpler HTTP/1.1 behavior needs additional work. For the foreseeable future, you probably want to trust a proxy like Nginx to talk to any clients sufficiently remote for HTTP/2 to offer much advantage.

@bonohubby
Copy link
Author

As you mentioned, using a web server that supports HTTP/2, such as Nginx, is one approach.
However, I believe that if the back-end server, such as Gunicorn, also supports HTTP/2 in this architecture, it could provide even faster responses.

Thank you for your kind response!

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

No branches or pull requests

2 participants