feat: Add GRPC TLS support (#6374)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alex Kremer
2026-04-20 18:12:14 +01:00
committed by GitHub
parent 96643bb0fa
commit 726f20c8f6
7 changed files with 1207 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ class JSONRPCClient : public AbstractClient
continue;
ParsedPort pp;
parse_Port(pp, cfg[name], log);
if (pp.protocol.count("http") == 0)
if (not pp.protocol.contains("http"))
continue;
using namespace boost::asio::ip;
if (pp.ip && pp.ip->is_unspecified())
@@ -91,12 +91,6 @@ public:
stream_.connect(ep_);
}
~JSONRPCClient() override
{
// stream_.shutdown(boost::asio::ip::tcp::socket::shutdown_both);
// stream_.close();
}
/*
Return value is an Object type with up to three keys:
status