On Tue, 15 Dec 2009 14:25:25 -0500, Adam Jackson <[email protected]> wrote:
> ... which is sort of a funny thing to say.  MaxClients was actually the
> maximum file descriptor number to pass to select(); MAXCLIENTS is the
> client count limit.  Typical servers have quite a few file descriptors
> open below MAXCLIENTS that are not clients (input devices, mostly),
> which means you end up losing client slots.
> 
> Rename MaxClients to MaxFd, to reflect its true nature, and don't clamp it
> to MAXCLIENTS.
> 
> Signed-off-by: Adam Jackson <[email protected]>

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgp9oD5fu2o5R.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to