summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-04-02 17:08:09 +0000
committerGravatar brain2008-04-02 17:08:09 +0000
commit2db77cda56947d4ee0f913c8082f6607855ca713 (patch)
treef7f83c80f62adc4e3eb0f9f3b680229466c4352e /src/socketengine.cpp
parentFix all this crap - it actually works now (we pray..) (diff)
Automatic detection and allocation of max fds. No longer needs recompile to change, just adjust it in your kernel or whatever and restart insp.
Please note that select and iocp socket engines do not support detection and are always set to FD_SETSIZE and 10240 descriptors respectively. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9263 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index a4b6d7d29..d0c181be4 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -61,7 +61,6 @@ void SocketEngine::WantWrite(EventHandler* eh)
SocketEngine::SocketEngine(InspIRCd* Instance) : ServerInstance(Instance)
{
- memset(ref, 0, sizeof(ref));
TotalEvents = WriteEvents = ReadEvents = ErrorEvents = 0;
}