summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/rpc_client/client_impl.cpp
diff options
context:
space:
mode:
authorermolovd <[email protected]>2025-11-12 11:35:13 +0300
committerermolovd <[email protected]>2025-11-12 11:53:42 +0300
commit1041cb78b057cad5dcfe06ec01cb3736a47a3ee1 (patch)
tree45b59632ce9119f52cef551e29966c16c8f4bb92 /yt/cpp/mapreduce/rpc_client/client_impl.cpp
parent042b41d58f8f88f9cb891ba1685b924b62db32e8 (diff)
YT-26638: disable proxy discovery when connecting to socket
commit_hash:499c8bd542f62b59650fa219a086086717aa119c
Diffstat (limited to 'yt/cpp/mapreduce/rpc_client/client_impl.cpp')
-rw-r--r--yt/cpp/mapreduce/rpc_client/client_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/rpc_client/client_impl.cpp b/yt/cpp/mapreduce/rpc_client/client_impl.cpp
index 8fc712026d1..de01ff0569e 100644
--- a/yt/cpp/mapreduce/rpc_client/client_impl.cpp
+++ b/yt/cpp/mapreduce/rpc_client/client_impl.cpp
@@ -25,6 +25,7 @@ NYT::NApi::IClientPtr CreateApiClient(const TClientContext& context)
connectionConfig->SetDefaults();
if (context.JobProxySocketPath) {
connectionConfig->ProxyUnixDomainSocket = *context.JobProxySocketPath;
+ connectionConfig->EnableProxyDiscovery = false;
} else {
connectionConfig->ClusterUrl = context.ServerName;
}