Re: another random thought.

From: Henrik Nordström <hno@dont-contact.us>
Date: Sun, 17 Nov 2002 15:19:21 +0100 (CET)

The max fd is hardcoded because the compiler wires this into a number of
types used here and there in the Squid sources...

The most notable type is fd_set.

There is not many references left, but there is some. Until all have been
elemitated the upper fd limit will have to be hardcoded at compile time.

Regards
Henrik

On 17 Nov 2002, Robert Collins wrote:

> We hard code some values - max fd's for instance - that we could read in
> from squid.conf (and set once and only once).
>
> Why would we want to do this? It saves a recompile for folk that forget
> to set their fd limits before configuring, allows cross compiling ....
>
>
> Rob
>
>
Received on Thu Nov 21 2002 - 11:19:25 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:47 MST