frostfs-sdk-go/api/rpc/client
Evgenii Stratonikov 69b0711d12 [#342] client: Disable service config query
By default, gRPC fetches TXT report while resolving a domain.
0914bba6c5/internal/resolver/dns/dns_resolver.go (L336)

This leads to a hanging dial if DNS is unavailable, even though the host
may be specified in `/etc/hosts` (hello, localhost!).

Use `grpc.WithDisableServiceConfig()` to override the default.
This option seems impossible to override with `WithGRPCDialOpts()`,
but we do not use service config anyway.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-03-06 09:24:16 +00:00
..
call_options.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
client.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
conn.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
connect.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
flows.go [#327] rpc: Fix mem leak 2025-01-30 12:53:43 +03:00
init.go [#334] rpc: Use DeadlineExceeded error when creating stream failed by timeout 2025-02-17 16:06:11 +03:00
options.go [#342] client: Disable service config query 2025-03-06 09:24:16 +00:00
options_test.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00
stream_wrapper.go [#327] rpc: Fix mem leak 2025-01-30 12:53:43 +03:00
util.go [#276] Merge repo with frostfs-api-go 2024-10-22 14:05:12 +00:00