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

Does it support HTTP/2 without TLS? #580

Closed
Zamony opened this issue May 21, 2022 · 4 comments
Closed

Does it support HTTP/2 without TLS? #580

Zamony opened this issue May 21, 2022 · 4 comments
Labels

Comments

@Zamony
Copy link

Zamony commented May 21, 2022

Hi! I want to use Lura to route requests to my internal gRPC server. It doesn't make sense to create secured connections (TLS) as the server is internal. Is Lura able to connect to HTTP/2 servers without TLS (h2c)?

@Zamony
Copy link
Author

Zamony commented Jun 9, 2022

I've successfully routed my gRPC unary requests via Lura.

I replaced RunServer function with the custom one, see:
https://github.com/thrawn01/h2c-golang-example

The only change required to Lura was to support HTTP2 trailers.
Made a pull request: #590

@Zamony
Copy link
Author

Zamony commented Jun 10, 2022

Closed due to: #590

@Zamony Zamony closed this as completed Jun 10, 2022
@kpacha
Copy link
Member

kpacha commented Jun 14, 2022

I've seen the latest releases of gin already support h2c (gin-gonic/gin#1398), so stay tuned

@github-actions
Copy link

This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants