diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:45 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:45 +0200 |
| commit | 9dcec1feba68dc5ba38cdc634f5bf113c0f77348 (patch) | |
| tree | 1d3b0191f4377b0b93ebc67b989e4b8a4f9c3671 /src/wrap.cpp | |
| parent | d34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (diff) | |
tagging yhttpd-0.7.2yhttpd-0.7.2
Diffstat (limited to 'src/wrap.cpp')
| -rwxr-xr-x | src/wrap.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/wrap.cpp b/src/wrap.cpp index e071cc9..e6fb851 100755 --- a/src/wrap.cpp +++ b/src/wrap.cpp @@ -5,15 +5,6 @@ using namespace std; -//<<* -chat* wrap::CHAT = NULL; -#ifdef DATABASE -data* wrap::DATA = NULL; -#endif -gcol* wrap::GCOL = NULL; -sman* wrap::SMAN = NULL; -modl* wrap::MODL = NULL; -//*>> conf* wrap::CONF = NULL; html* wrap::HTML = NULL; @@ -76,20 +67,10 @@ wrap::init_wrapper(map<string,string>* p_main_loop_params) CONF->get_elem("httpd.logging.systemlines") ); #endif - //<<* - // Init the session manager. - WRAP->SMAN = SMAN = new sman; - //*>> // Init the socket manager. int i_port = tool::string2int( wrap::CONF->get_elem( "httpd.serverport" ) ); -#ifndef OPENSSL - WRAP->SOCK = SOCK = new sock; -#else - - WRAP->SOCK = SOCK = new sslsock; -#endif // create the server socket and set it up to accept connections. if(SOCK->_make_server_socket ( i_port ) <= 0) @@ -122,27 +103,10 @@ wrap::init_wrapper(map<string,string>* p_main_loop_params) // Init the thread pool WRAP->POOL = POOL = new pool; - //<<* - // Init the chat manager. - WRAP->CHAT = CHAT = new chat; - //*>> // Init the system timer. WRAP->TIMR = TIMR = new timr; - //<<* - // Init the module-loader manager. - WRAP->MODL = MODL = new modl; - - // Init the garbage collector - WRAP->GCOL = GCOL = new gcol; - - // Init the data manager. -#ifdef DATABASE - - WRAP->DATA = DATA = new data; -#endif - //*>> // Run threads TIMR->run(); |
