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

H2 protocol translation #422

Open
alexvuta opened this issue Dec 6, 2024 · 1 comment
Open

H2 protocol translation #422

alexvuta opened this issue Dec 6, 2024 · 1 comment

Comments

@alexvuta
Copy link

alexvuta commented Dec 6, 2024

Hello,

I am not fully understand what ingress.zlab.co.jp/backend-config: '{"orthanc-default-svc": {"80": {"proto": "h2"}}}' annotation will do :)
If my backend service knows only http1, on client side, this controller will provide http2?

It is able to convert client h2 request and spit it over multiple sockets on the backend service that knows only http1 ?
In my case this is not working..
Thanks!

@tatsuhiro-t
Copy link
Contributor

ingress.zlab.co.jp/backend-config: '{"orthanc-default-svc": {"80": {"proto": "h2"}}}' makes nghttpx connect to orthanc-default-svc service Pod using HTTP/2. It requires that Pod must support HTTP/2. If your service only knows HTTP/1.1, use "proto": "http/1.1".

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