Re: fd patch to squid

From: Martin Stransky <stransky@dont-contact.us>
Date: Wed, 26 Jul 2006 11:09:57 +0200

Hello,

there is an updated patch, it should meets your criteria...

Martin

> * The stuff eleminating SQUID_MAXFD dependencies in arrays etc.
>
> * The directive for setting the fd limit
>
> * Checks in comm_select_init or similar to lower Squid_MaxFD if it's
> above what the select loop implementation can handle. This means
> comm_select.c and comm_select_win32.c limiting Squid_MaxFD to
> FD_SETSIZE. (eleminating the similar check from main.c). Some thinking
> needed to get rid of comm_select dependencies.. (probably a new
> comm_select_fdlimit call needed before comm_init)
>
> * Moving the FD_SETSIZE override from squid.h to comm_select.c before
> include of squid.h..
>
> * After this SQUID_MAXFD should only be referenced from the FD_SETSIZE
> override in comm_select.c.
>
> Regards
> Henrik

Received on Wed Jul 26 2006 - 03:11:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT