Backported AsyncAcceptor generalization to authserver
This commit is contained in:
1 parent
310f5e6846
commit
c31c6f3ba3
4 files changed
+4
-83
No files matched your search
@@ -39,7 +39,8 @@
|
||||
#include "SystemConfig.h"
|
||||
#include "Util.h"
|
||||
#include "RealmList.h"
|
||||
#include "AuthServer.h"
|
||||
#include "AsyncAcceptor.h"
|
||||
#include "AuthSession.h"
|
||||
|
||||
|
||||
#ifdef __linux__
|
||||
@@ -170,7 +171,7 @@ int main(int argc, char** argv)
|
||||
|
||||
std::string bindIp = sConfigMgr->GetStringDefault("BindIP", "0.0.0.0");
|
||||
|
||||
AuthServer authServer(_ioService, bindIp, port);
|
||||
AsyncAcceptor<AuthSession> authServer(_ioService, bindIp, port);
|
||||
|
||||
// Set signal handlers
|
||||
boost::asio::signal_set signals(_ioService, SIGINT, SIGTERM);
|
||||
|
||||
Reference in new issue
Block a user