diff options
| author | 2008-04-07 12:29:05 +0000 | |
|---|---|---|
| committer | 2008-04-07 12:29:05 +0000 | |
| commit | b233d0c582a3c6f8d85b681074e4f1ac4678276d (patch) | |
| tree | d7b37b4509fd3684bd9709ee5fb57f243efa844e /src/socketengines/socketengine_iocp.cpp | |
| parent | Fix fake direction in TOPIC, you cant use a uuid as a command origin in the s... (diff) | |
| download | inspircd++-b233d0c582a3c6f8d85b681074e4f1ac4678276d.tar.gz inspircd++-b233d0c582a3c6f8d85b681074e4f1ac4678276d.tar.bz2 inspircd++-b233d0c582a3c6f8d85b681074e4f1ac4678276d.zip | |
Patch from Brain: set MAX_DESCRIPTORS for all socket engines (I missed this)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9394 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengines/socketengine_iocp.cpp')
| -rw-r--r-- | src/socketengines/socketengine_iocp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socketengines/socketengine_iocp.cpp b/src/socketengines/socketengine_iocp.cpp index b27f96035..9ae394e56 100644 --- a/src/socketengines/socketengine_iocp.cpp +++ b/src/socketengines/socketengine_iocp.cpp @@ -17,6 +17,8 @@ IOCPEngine::IOCPEngine(InspIRCd * Instance) : SocketEngine(Instance) { + MAX_DESCRIPTORS = 10240; + /* Create completion port */ m_completionPort = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, (ULONG_PTR)0, 0); |
