Add Authority to gRPC Transport (#3076)

Why couldn't you have Host, for the last three years?
This commit is contained in:
RPRX 2024-02-29 14:22:14 +00:00 committed by GitHub
parent aa101d9dc2
commit 7184a8165f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 57 additions and 43 deletions

View file

@ -4,7 +4,7 @@ package xray.transport.internet.grpc.encoding;
option go_package = "github.com/xtls/xray-core/transport/internet/grpc";
message Config {
string host = 1;
string authority = 1;
string service_name = 2;
bool multi_mode = 3;
int32 idle_timeout = 4;