Commit efc3c141 authored by jan.koester's avatar jan.koester
Browse files

tet

parent bb91c5e1
Loading
Loading
Loading
Loading
+0 −4
Changes for src/httpd.cpp: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -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 
        }

+5 −0
Changes for src/httpd.h: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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();