From: hno <> Date: Fri, 13 Apr 2007 05:33:01 +0000 (+0000) Subject: Bug #1475: Filedescriptor limit does not need to be hardcoded for kqueue/epoll X-Git-Tag: SQUID_3_0_PRE6~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=415b5560db257e0771045d21fef0b93bea2e2c21;p=thirdparty%2Fsquid.git Bug #1475: Filedescriptor limit does not need to be hardcoded for kqueue/epoll Activate the patch again, as Adrian cleaned up unlinkd ages ago. --- diff --git a/src/squid.h b/src/squid.h index ca5c1a74ed..d599adda6f 100644 --- a/src/squid.h +++ b/src/squid.h @@ -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