You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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:
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
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: