Loading src/httpd.cpp +2 −6 Changes for src/httpd.cpp: 2 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -214,9 +214,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { throw _httpexception; } std::map<std::string, netplus::ssl::CertificateBundle> certs; certs[httpaddr] = bundle; _certBundle = certs; _certBundle[httpaddr] = bundle; auto ss = std::make_unique<netplus::ssl>(_certBundle, httpaddr, port, maxconnections, -1); _ServerSocket = std::move(ss); Loading Loading @@ -280,9 +278,7 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections throw _httpexception; } std::map<std::string, netplus::ssl::CertificateBundle> certs; certs[httpaddr] = bundle; _certBundle = certs; _certBundle[httpaddr] = bundle; auto ss = std::make_unique<netplus::ssl>(_certBundle, httpaddr, port, maxconnections, -1); _ServerSocket = std::move(ss); Loading Loading
src/httpd.cpp +2 −6 Changes for src/httpd.cpp: 2 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -214,9 +214,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { throw _httpexception; } std::map<std::string, netplus::ssl::CertificateBundle> certs; certs[httpaddr] = bundle; _certBundle = certs; _certBundle[httpaddr] = bundle; auto ss = std::make_unique<netplus::ssl>(_certBundle, httpaddr, port, maxconnections, -1); _ServerSocket = std::move(ss); Loading Loading @@ -280,9 +278,7 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections throw _httpexception; } std::map<std::string, netplus::ssl::CertificateBundle> certs; certs[httpaddr] = bundle; _certBundle = certs; _certBundle[httpaddr] = bundle; auto ss = std::make_unique<netplus::ssl>(_certBundle, httpaddr, port, maxconnections, -1); _ServerSocket = std::move(ss); Loading