0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-02 00:38:24 +02:00

modules/console: Add certificate_chain_path parameter to net listen cmd.

This commit is contained in:
Jason Volk 2019-03-03 13:56:26 -08:00
parent 55c08f08ae
commit 81127045b0

View file

@ -4455,6 +4455,7 @@ console_cmd__net__listen(opt &out, const string_view &line)
"port",
"certificate_pem_path",
"private_key_pem_path",
"certificate_chain_path",
"tmp_dh_path",
"backlog",
"max_connections",
@ -4462,13 +4463,14 @@ console_cmd__net__listen(opt &out, const string_view &line)
const json::members opts
{
{ "host", token.at("host", "0.0.0.0"_sv) },
{ "port", token.at("port", 8448L) },
{ "certificate_pem_path", token.at("certificate_pem_path") },
{ "private_key_pem_path", token.at("private_key_pem_path") },
{ "tmp_dh_path", token.at("tmp_dh_path", ""_sv) },
{ "backlog", token.at("backlog", -1L) },
{ "max_connections", token.at("max_connections", -1L) },
{ "host", token.at("host", "0.0.0.0"_sv) },
{ "port", token.at("port", 8448L) },
{ "certificate_pem_path", token.at("certificate_pem_path") },
{ "private_key_pem_path", token.at("private_key_pem_path") },
{ "certificate_chain_path", token.at("certificate_chain_path", ""_sv) },
{ "tmp_dh_path", token.at("tmp_dh_path", ""_sv) },
{ "backlog", token.at("backlog", -1L) },
{ "max_connections", token.at("max_connections", -1L) },
};
const auto eid