[clang-tidy fixes] Successful connection using Connect() overload for proxy
Some checks failed
PR Check / on-push-commit-check (push) Has been cancelled
Some checks failed
PR Check / on-push-commit-check (push) Has been cancelled
This commit is contained in:
parent
9f408fd4b8
commit
e1993511ac
1 changed files with 2 additions and 2 deletions
|
@ -286,8 +286,8 @@ auto ConnectViaProxy(Socket& socket, const SystemConfiguredProxy&, std::string_v
|
|||
auto proxyOpt = GetSystemProxySettings();
|
||||
|
||||
co_await std::visit(
|
||||
[&](auto&& proxy_variant) -> boost::asio::awaitable<void> { // NOLINT
|
||||
co_await ConnectViaProxy(socket, proxy_variant, host, port);
|
||||
[&](auto&& proxy_variant) -> boost::asio::awaitable<void> {
|
||||
co_return ConnectViaProxy(socket, proxy_variant, host, port);
|
||||
},
|
||||
proxyOpt);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue