mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-18 06:09:48 +03:00
Add grpc multi conn
This commit is contained in:
@ -14,6 +14,7 @@ type GRPCConfig struct {
|
||||
PermitWithoutStream bool `json:"permit_without_stream"`
|
||||
InitialWindowsSize int32 `json:"initial_windows_size"`
|
||||
UserAgent string `json:"user_agent"`
|
||||
MultiConnections int32 `json:"multi_connections"`
|
||||
}
|
||||
|
||||
func (g *GRPCConfig) Build() (proto.Message, error) {
|
||||
@ -37,5 +38,6 @@ func (g *GRPCConfig) Build() (proto.Message, error) {
|
||||
PermitWithoutStream: g.PermitWithoutStream,
|
||||
InitialWindowsSize: g.InitialWindowsSize,
|
||||
UserAgent: g.UserAgent,
|
||||
MultiConnections: g.MultiConnections,
|
||||
}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user