mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-30 10:47:40 +08:00
Merge branch 'master' of https://github.com/an-tao/drogon
This commit is contained in:
commit
8f2fefb8e8
@ -84,10 +84,12 @@ int main()
|
||||
|
||||
drogon::HttpAppFramework::instance().addListener("0.0.0.0",12345);
|
||||
drogon::HttpAppFramework::instance().addListener("0.0.0.0",8080);
|
||||
#ifdef USE_OPENSSL
|
||||
//https
|
||||
drogon::HttpAppFramework::instance().setSSLFiles("server.pem","server.pem");
|
||||
drogon::HttpAppFramework::instance().addListener("0.0.0.0",4430,true);
|
||||
drogon::HttpAppFramework::instance().addListener("0.0.0.0",4431,true);
|
||||
#endif
|
||||
drogon::HttpAppFramework::instance().setThreadNum(4);
|
||||
trantor::Logger::setLogLevel(trantor::Logger::TRACE);
|
||||
//class function
|
||||
|
Loading…
Reference in New Issue
Block a user