Loading src/httpd.cpp +0 −4 Changes for src/httpd.cpp: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -209,11 +209,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { else _ServerSocket = std::make_unique<netplus::tcp>(httpaddr, maxconnections,-1); #else <<<<<<< HEAD _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections, -1); ======= _ServerSocket = std::make_unique<netplus::tcp>(httpaddr, port, maxconnections,-1); >>>>>>> d052137 (test) #endif } Loading src/httpd.h +5 −0 Changes for src/httpd.h: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -60,8 +60,13 @@ namespace libhttppp { class HttpD { public: HttpD(int argc, char** argv); <<<<<<< HEAD HttpD(const std::string &httpaddr, int port, int maxconnections, const char* sslcertpath, const char* sslkeypath); ~HttpD(); ======= HttpD(const char *httpaddr, int port,int maxconnections,const char *sslcertpath,const char *sslkeypath); virtual ~HttpD(); >>>>>>> dd6b7ab (tet) netplus::socket &getServerSocket(); protected: void FileServer(); Loading Loading
src/httpd.cpp +0 −4 Changes for src/httpd.cpp: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -209,11 +209,7 @@ libhttppp::HttpD::HttpD(int argc, char** argv) { else _ServerSocket = std::make_unique<netplus::tcp>(httpaddr, maxconnections,-1); #else <<<<<<< HEAD _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections, -1); ======= _ServerSocket = std::make_unique<netplus::tcp>(httpaddr, port, maxconnections,-1); >>>>>>> d052137 (test) #endif } Loading
src/httpd.h +5 −0 Changes for src/httpd.h: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -60,8 +60,13 @@ namespace libhttppp { class HttpD { public: HttpD(int argc, char** argv); <<<<<<< HEAD HttpD(const std::string &httpaddr, int port, int maxconnections, const char* sslcertpath, const char* sslkeypath); ~HttpD(); ======= HttpD(const char *httpaddr, int port,int maxconnections,const char *sslcertpath,const char *sslkeypath); virtual ~HttpD(); >>>>>>> dd6b7ab (tet) netplus::socket &getServerSocket(); protected: void FileServer(); Loading