From 415b5560db257e0771045d21fef0b93bea2e2c21 Mon Sep 17 00:00:00 2001 From: hno <> Date: Fri, 13 Apr 2007 05:33:01 +0000 Subject: [PATCH] Bug #1475: Filedescriptor limit does not need to be hardcoded for kqueue/epoll Activate the patch again, as Adrian cleaned up unlinkd ages ago. --- src/squid.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.47.3