luraproject / lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

Home Page:https://luraproject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does it support HTTP/2 without TLS?

Zamony opened this issue · comments

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)?

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

Closed due to: #590

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

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.