]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1475: Filedescriptor limit does not need to be hardcoded for kqueue/epoll
authorhno <>
Fri, 13 Apr 2007 05:33:01 +0000 (05:33 +0000)
committerhno <>
Fri, 13 Apr 2007 05:33:01 +0000 (05:33 +0000)
Activate the patch again, as Adrian cleaned up unlinkd ages ago.

src/squid.h

index ca5c1a74edfef4a6c35be72c5ace2a8a248d5e60..d599adda6fc5ad8a4a8137f3839079aac3e1b588 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: squid.h,v 1.259 2006/09/03 04:09:36 hno Exp $
+ * $Id: squid.h,v 1.260 2007/04/12 23:33:01 hno Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -199,11 +199,7 @@ using namespace Squid;
 /* Limited due to delay pools */
 # define SQUID_MAXFD_LIMIT FD_SETSIZE
 #elif defined(USE_KQUEUE) || defined(USE_EPOLL)
-# if DONT_LIMIT_TO_FD_SETSIZE
-#  define fd_set ERROR_FD_SET_USED */
-# else
-#  define SQUID_MAXFD_LIMIT FD_SETSIZE
-# endif
+#  define fd_set ERROR_FD_SET_USED
 #else
 # error Unknown select loop model!
 #endif