Commit 6db345e3 authored by jan.koester's avatar jan.koester
Browse files

fxied

parent efc3c141
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
@@ -262,11 +262,7 @@ libhttppp::HttpD::HttpD(const std::string& httpaddr, int port,int maxconnections
            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,0);
>>>>>>> d052137 (test)
            #endif
        }
    }catch (netplus::NetException &e) {
+0 −5
Changes for src/httpd.h: 0 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -60,13 +60,8 @@ 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();