mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-08-23 01:56:48 +08:00
Pin protobuf packages (#3715)
* Pin protobuf packages It happened in the past that I ran with the wrong protobuf version installed locally, and apparently there is even still some file wrong in splithttp. Fix this issue once and for all. * bump protobuf packages * Revert "bump protobuf packages" This reverts commit7a3509346a
. * Revert "Revert "bump protobuf packages"" This reverts commitbb79707d15
. * fix deprecated grpc usage
This commit is contained in:
@@ -34,7 +34,7 @@ func (c *gRPCServiceClient) TunCustomName(ctx context.Context, name, tun string,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &gRPCServiceTunClient{stream}
|
||||
x := &grpc.GenericClientStream[Hunk, Hunk]{ClientStream: stream}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ func (c *gRPCServiceClient) TunMultiCustomName(ctx context.Context, name, tunMul
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &gRPCServiceTunMultiClient{stream}
|
||||
x := &grpc.GenericClientStream[MultiHunk, MultiHunk]{ClientStream: stream}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user