mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Enable batch rpc processing
* Can be exercised from the command line with json2 * Rewrite Env::do_rpc to call the same code as rpc from the command line. This puts rpc handling logic in one place.
This commit is contained in:
@@ -786,7 +786,7 @@ class ServerStatus_test :
|
||||
using namespace beast::http;
|
||||
Env env {*this, validator( envconfig([](std::unique_ptr<Config> cfg)
|
||||
{
|
||||
cfg->section("port_rpc").set("protocol", "http,https");
|
||||
cfg->section("port_rpc").set("protocol", "http");
|
||||
return cfg;
|
||||
}), "")};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user