From dc12fcac8757b36b7da88d0a9ff25acc009d539c Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 29 Dec 2005 16:33:26 +0000 Subject: Added extra checking to socketengine to refuse connections after we reach the max git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2697 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socketengine.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/socketengine.h b/include/socketengine.h index ecb8fa96e..caa4dc45b 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -67,6 +67,7 @@ const char X_READBIT = 0x80; class SocketEngine { int EngineHandle; /* Handle to the socket engine if needed */ + int CurrentSetSize; /* Current number of descriptors in the engine */ #ifdef USE_SELECT std::map fds; /* List of file descriptors being monitored */ fd_set wfdset, rfdset; /* Readable and writeable sets for select() */ -- cgit v1.2.3