Skip to content

Commit 226f246

Browse files
fix: grpc requests go via proxy on Grpc.NET.Client >= 2.44 (#219)
1 parent af631d7 commit 226f246

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Ydb.Sdk/src/Pool/ChannelPool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ public GrpcChannel CreateChannel(string endpoint)
134134

135135
return true;
136136
};
137+
// https://github.com/grpc/grpc-dotnet/issues/2312#issuecomment-1790661801
138+
httpHandler.Properties["__GrpcLoadBalancingDisabled"] = true;
137139

138140
channelOptions.HttpHandler = httpHandler;
139141
channelOptions.DisposeHttpClient = true;

0 commit comments

Comments
 (0)