mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Backported AsyncAcceptor generalization to authserver
This commit is contained in:
@@ -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