uber / tchannel

network multiplexing and framing protocol for RPC
MIT License
1.15k stars 129 forks source link

Add support in Relay code to allow performing relay based on Arg2. #1425

Closed devastating closed 5 years ago

devastating commented 5 years ago

In current Relay code implementation, we only export certain fields in RelayFrame interface (up to Arg1). We would like to explore the opportunity to access/introspect Arg2 (application headers for thrift) in Relay path.

This could allow RelayHost to decide which peer to route to based on application headers, i.e. Arg2.

devastating commented 5 years ago

Wrong repo