From b23fd66aa662f4d4c3d296ee12dc9f72a0752fba Mon Sep 17 00:00:00 2001 From: Derex Date: Mon, 31 May 2010 03:19:23 +0400 Subject: [PATCH] [10009] Fix realmd to accept more than 64 connections on windows. Signed-off-by: VladimirMangos --- src/realmd/Main.cpp | 3 +++ src/shared/revision_nr.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/realmd/Main.cpp b/src/realmd/Main.cpp index 351542ebf..1807b165f 100644 --- a/src/realmd/Main.cpp +++ b/src/realmd/Main.cpp @@ -36,6 +36,7 @@ #include #include +#include #include #include #include @@ -181,6 +182,8 @@ extern int main(int argc, char **argv) #if defined (ACE_HAS_EVENT_POLL) || defined (ACE_HAS_DEV_POLL) ACE_Reactor::instance(new ACE_Reactor(new ACE_Dev_Poll_Reactor(ACE::max_handles(), 1), 1), true); +#else + ACE_Reactor::instance(new ACE_Reactor(new ACE_TP_Reactor(), true), true); #endif sLog.outBasic("Max allowed open files is %d", ACE::max_handles()); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 5d1423dd8..8e77d48c4 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10008" + #define REVISION_NR "10009" #endif // __REVISION_NR_H__