Loading CMakeSettings.json +2 −2 Changes for CMakeSettings.json: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ "configurationType": "Debug", "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", "cmakeCommandArgs": "", "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:\\Users\\jan.koester\\build_blogi\\install", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x64_x64" ] Loading @@ -17,7 +17,7 @@ "configurationType": "RelWithDebInfo", "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", "cmakeCommandArgs": "", "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:\\Users\\jan.koester\\build_blogi\\install", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x64_x64" ] Loading examples/httpclient.cpp +1 −1 Changes for examples/httpclient.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ int main(int argc, char** argv){ cltsock=std::make_unique<netplus::tcp>(url.getHost(), url.getPort(), 1, 0); srvsock=std::make_unique<netplus::tcp>(-1); }else if((url.getProtocol()==libhttppp::HttpUrl::HTTPS)){ cltsock=std::make_unique<netplus::ssl>(url.getHost(), url.getPort(), 1, 0,x509); cltsock=std::make_unique<netplus::ssl>(x509,url.getHost(), url.getPort(), 1, 0); srvsock=std::make_unique<netplus::ssl>(x509,-1); } 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 @@ -53,7 +53,7 @@ struct nop }; void libhttppp::HttpEvent::CreateConnection(std::shared_ptr<netplus::con> &res){ res=std::make_shared<HttpRequest>(std::move(this)); res=std::make_shared<HttpRequest>(this); } void libhttppp::HttpEvent::RequestEvent(HttpRequest &curreq,const int tid,ULONG_PTR args){ Loading Loading @@ -192,7 +192,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { throw _httpexception; } auto ss = std::make_unique<netplus::ssl>(httpaddr, port, maxconnections, -1, x509); auto ss = std::make_unique<netplus::ssl>(x509,httpaddr, port, maxconnections, -1); // IMPORTANT: load private key to fill ss->_rsa.n/e/d ss->loadServerPrivateKeyDer(keyder); Loading Loading @@ -235,7 +235,7 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections throw _httpexception; } auto ss = std::make_unique<netplus::ssl>(httpaddr, port, maxconnections, -1, x509); auto ss = std::make_unique<netplus::ssl>(x509,httpaddr, port, maxconnections, -1); // IMPORTANT: load private key to fill ss->_rsa.n/e/d ss->loadServerPrivateKeyDer(sslkeypath); Loading Loading
CMakeSettings.json +2 −2 Changes for CMakeSettings.json: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ "configurationType": "Debug", "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", "cmakeCommandArgs": "", "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:\\Users\\jan.koester\\build_blogi\\install", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x64_x64" ] Loading @@ -17,7 +17,7 @@ "configurationType": "RelWithDebInfo", "buildRoot": "${projectDir}\\out\\build\\${name}", "installRoot": "${projectDir}\\out\\install\\${name}", "cmakeCommandArgs": "", "cmakeCommandArgs": "-DCMAKE_PREFIX_PATH=C:\\Users\\jan.koester\\build_blogi\\install", "buildCommandArgs": "", "ctestCommandArgs": "", "inheritEnvironments": [ "msvc_x64_x64" ] Loading
examples/httpclient.cpp +1 −1 Changes for examples/httpclient.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ int main(int argc, char** argv){ cltsock=std::make_unique<netplus::tcp>(url.getHost(), url.getPort(), 1, 0); srvsock=std::make_unique<netplus::tcp>(-1); }else if((url.getProtocol()==libhttppp::HttpUrl::HTTPS)){ cltsock=std::make_unique<netplus::ssl>(url.getHost(), url.getPort(), 1, 0,x509); cltsock=std::make_unique<netplus::ssl>(x509,url.getHost(), url.getPort(), 1, 0); srvsock=std::make_unique<netplus::ssl>(x509,-1); } 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 @@ -53,7 +53,7 @@ struct nop }; void libhttppp::HttpEvent::CreateConnection(std::shared_ptr<netplus::con> &res){ res=std::make_shared<HttpRequest>(std::move(this)); res=std::make_shared<HttpRequest>(this); } void libhttppp::HttpEvent::RequestEvent(HttpRequest &curreq,const int tid,ULONG_PTR args){ Loading Loading @@ -192,7 +192,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { throw _httpexception; } auto ss = std::make_unique<netplus::ssl>(httpaddr, port, maxconnections, -1, x509); auto ss = std::make_unique<netplus::ssl>(x509,httpaddr, port, maxconnections, -1); // IMPORTANT: load private key to fill ss->_rsa.n/e/d ss->loadServerPrivateKeyDer(keyder); Loading Loading @@ -235,7 +235,7 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections throw _httpexception; } auto ss = std::make_unique<netplus::ssl>(httpaddr, port, maxconnections, -1, x509); auto ss = std::make_unique<netplus::ssl>(x509,httpaddr, port, maxconnections, -1); // IMPORTANT: load private key to fill ss->_rsa.n/e/d ss->loadServerPrivateKeyDer(sslkeypath); Loading