[clang-tidy fixes] Successful connection using Connect() overload for proxy
Some checks failed
PR Check / on-push-commit-check (push) Has been cancelled

This commit is contained in:
sectapunterx 2024-11-23 21:01:18 +03:00
parent 9f408fd4b8
commit e1993511ac

View file

@ -286,8 +286,8 @@ auto ConnectViaProxy(Socket& socket, const SystemConfiguredProxy&, std::string_v
auto proxyOpt = GetSystemProxySettings(); auto proxyOpt = GetSystemProxySettings();
co_await std::visit( co_await std::visit(
[&](auto&& proxy_variant) -> boost::asio::awaitable<void> { // NOLINT [&](auto&& proxy_variant) -> boost::asio::awaitable<void> {
co_await ConnectViaProxy(socket, proxy_variant, host, port); co_return ConnectViaProxy(socket, proxy_variant, host, port);
}, },
proxyOpt); proxyOpt);
} }