Make a fortune quietly
Go to file
klzgrad 2a0e13ae53 net, grpc_support: Set NetworkIsolationKey from header
If BidirectionalStream request contains a -network-isolation-key
header, it is used to set the network isolation key of the stream.
The header itself is removed and not transmitted.

The header value should be a valid URL with different host and port
for each different network isolation key. Invalid header value is
reported by returning error from bidirectional_stream_start.

Network isolation takes effect only if it is enabled by experimental
option of

  "feature_list": {
    "enable-features": "PartitionConnectionsByNetworkIsolationKey"
  }
2022-05-22 01:43:32 +08:00
src net, grpc_support: Set NetworkIsolationKey from header 2022-05-22 01:43:32 +08:00
.gitignore Add .gitignore 2022-05-03 18:16:59 +08:00