weaveworks / common

Libraries used in multiple Weave projects
Other
129 stars 92 forks source link

Add support to route both GRPC and HTTP over the HTTP server #288

Closed joe-elliott closed 1 year ago

joe-elliott commented 1 year ago

This PR uses https://github.com/soheilhy/cmux to provide the ability to route both HTTP and GRPC over the HTTP port with all of the GRPC server settings.

Currently it routes http1 to the http server and all http2 to the GRPC server.