-
Notifications
You must be signed in to change notification settings - Fork 505
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
Detect protocols based on request header #2008
Comments
This is very cool. We actually already do this in Conduit (soon to become Linkerd 2.0). Adding this functionality to Linkerd, unfortunately, would be a large amount of work. |
Tim-Brooks
pushed a commit
to Tim-Brooks/linkerd
that referenced
this issue
Dec 20, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type:
Right now we need separate routers on different ports to process requests of different protocols.
Maybe we could run a single proxy for multiple routers if declared port for one overlaps with the other, and detect the protocol type based on a header of a request?
i.e.
Proxy on port 4141 should accept HTTP and H2 requests, detecting a protocol based on headers.
It definitely can be done, see https://github.com/soheilhy/cmux
The text was updated successfully, but these errors were encountered: