Loading src/httpd.cpp +3 −3 Changes for src/httpd.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -164,17 +164,17 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { maxconnections = HTTPDCmdController.getCmdbyKey("maxconnections")->getValueInt(); /*get httpaddress from console paramter*/ const char *sslcertpath = nullptr; std::string sslcertpath = nullptr; if (HTTPDCmdController.getCmdbyKey("httpscert")) sslcertpath = HTTPDCmdController.getCmdbyKey("httpscert")->getValue(); /*get httpaddress from console paramter*/ const char *sslkeypath = nullptr; std::string sslkeypath = nullptr; if (HTTPDCmdController.getCmdbyKey("httpskey")) sslkeypath = HTTPDCmdController.getCmdbyKey("httpskey")->getValue(); try { if (sslcertpath && sslkeypath) { if (!sslcertpath.empty() && !sslkeypath.empty()) { std::vector<char> cert,key; Loading Loading
src/httpd.cpp +3 −3 Changes for src/httpd.cpp: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -164,17 +164,17 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { maxconnections = HTTPDCmdController.getCmdbyKey("maxconnections")->getValueInt(); /*get httpaddress from console paramter*/ const char *sslcertpath = nullptr; std::string sslcertpath = nullptr; if (HTTPDCmdController.getCmdbyKey("httpscert")) sslcertpath = HTTPDCmdController.getCmdbyKey("httpscert")->getValue(); /*get httpaddress from console paramter*/ const char *sslkeypath = nullptr; std::string sslkeypath = nullptr; if (HTTPDCmdController.getCmdbyKey("httpskey")) sslkeypath = HTTPDCmdController.getCmdbyKey("httpskey")->getValue(); try { if (sslcertpath && sslkeypath) { if (!sslcertpath.empty() && !sslkeypath.empty()) { std::vector<char> cert,key; Loading