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

Support HTTP/2 over cleartext (H2C) with prior knowledge #733

Open
salim-b opened this issue Apr 12, 2024 · 0 comments
Open

Support HTTP/2 over cleartext (H2C) with prior knowledge #733

salim-b opened this issue Apr 12, 2024 · 0 comments

Comments

@salim-b
Copy link
Contributor

salim-b commented Apr 12, 2024

Describe the feature request

It would be nice if Gatus could accept HTTP/2 over cleartext TCP (H2C) with prior knowledge, so that if Gatus is used behind a proxy that terminates TLS (like the one from fly.io), the request isn't downgraded to HTTP/1.1 before being forwarded to Gatus. This would yield better performance / consume less resources.

H2C support for Golang is offered in golang.org/x/net/http2/h2c, a full example is found here.

Thanks for taking this into consideration!

Why do you personally want this feature to be implemented?

Better performance when hosting Gatus on fly.io.

How long have you been using this project?

~1.5 years

Additional information

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

1 participant