Loading src/httpd.cpp +10 −4 Changes for src/httpd.cpp: 10 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ #include <fstream> #include <netplus/socket.h> #include <netplus/exception.h> #include <cmdplus/cmdplus.h> #include "httpd.h" Loading Loading @@ -120,8 +122,10 @@ libhttppp::HttpD::HttpD(int argc, char** argv){ _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections); #endif } }catch (HTTPException &e) { throw e; }catch (netplus::NetException &e) { netplus::NetException ee; ee[netplus::NetException::Critical] << e.what(); throw ee; } } Loading Loading @@ -162,8 +166,10 @@ libhttppp::HttpD::HttpD(const char *httpaddr, int port,int maxconnections,const _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections); #endif } }catch (HTTPException &e) { throw e; }catch (netplus::NetException &e) { netplus::NetException ee; ee[netplus::NetException::Critical] << e.what(); throw ee; } } Loading Loading
src/httpd.cpp +10 −4 Changes for src/httpd.cpp: 10 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ #include <fstream> #include <netplus/socket.h> #include <netplus/exception.h> #include <cmdplus/cmdplus.h> #include "httpd.h" Loading Loading @@ -120,8 +122,10 @@ libhttppp::HttpD::HttpD(int argc, char** argv){ _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections); #endif } }catch (HTTPException &e) { throw e; }catch (netplus::NetException &e) { netplus::NetException ee; ee[netplus::NetException::Critical] << e.what(); throw ee; } } Loading Loading @@ -162,8 +166,10 @@ libhttppp::HttpD::HttpD(const char *httpaddr, int port,int maxconnections,const _ServerSocket = new netplus::tcp(httpaddr, port, maxconnections); #endif } }catch (HTTPException &e) { throw e; }catch (netplus::NetException &e) { netplus::NetException ee; ee[netplus::NetException::Critical] << e.what(); throw ee; } } Loading