mirror of
https://github.com/matrix-construct/construct
synced 2024-07-04 01:38:24 +02:00
modules/console: Add certificate_chain_path parameter to net listen cmd.
This commit is contained in:
parent
55c08f08ae
commit
81127045b0
|
@ -4455,6 +4455,7 @@ console_cmd__net__listen(opt &out, const string_view &line)
|
||||||
"port",
|
"port",
|
||||||
"certificate_pem_path",
|
"certificate_pem_path",
|
||||||
"private_key_pem_path",
|
"private_key_pem_path",
|
||||||
|
"certificate_chain_path",
|
||||||
"tmp_dh_path",
|
"tmp_dh_path",
|
||||||
"backlog",
|
"backlog",
|
||||||
"max_connections",
|
"max_connections",
|
||||||
|
@ -4462,13 +4463,14 @@ console_cmd__net__listen(opt &out, const string_view &line)
|
||||||
|
|
||||||
const json::members opts
|
const json::members opts
|
||||||
{
|
{
|
||||||
{ "host", token.at("host", "0.0.0.0"_sv) },
|
{ "host", token.at("host", "0.0.0.0"_sv) },
|
||||||
{ "port", token.at("port", 8448L) },
|
{ "port", token.at("port", 8448L) },
|
||||||
{ "certificate_pem_path", token.at("certificate_pem_path") },
|
{ "certificate_pem_path", token.at("certificate_pem_path") },
|
||||||
{ "private_key_pem_path", token.at("private_key_pem_path") },
|
{ "private_key_pem_path", token.at("private_key_pem_path") },
|
||||||
{ "tmp_dh_path", token.at("tmp_dh_path", ""_sv) },
|
{ "certificate_chain_path", token.at("certificate_chain_path", ""_sv) },
|
||||||
{ "backlog", token.at("backlog", -1L) },
|
{ "tmp_dh_path", token.at("tmp_dh_path", ""_sv) },
|
||||||
{ "max_connections", token.at("max_connections", -1L) },
|
{ "backlog", token.at("backlog", -1L) },
|
||||||
|
{ "max_connections", token.at("max_connections", -1L) },
|
||||||
};
|
};
|
||||||
|
|
||||||
const auto eid
|
const auto eid
|
||||||
|
|
Loading…
Reference in a new issue