Commit 3f2c87f4 authored by jan.koester's avatar jan.koester
Browse files

test

parent 7a81bb86
Loading
Loading
Loading
Loading
+2 −6
Changes for src/httpd.cpp: 2 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -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);
@@ -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);