Olivier Fourdan <[email protected]> writes:

> Make the maximum number of clients user configurable, either from the command
> line or from xorg.conf
>
> This patch works by using the MAXCLIENTS (raised to 512) as the maximum
> allowed number of clients, but allowing the actual limit to be set by the
> user to a lower value (keeping the default of 256).
>
> There is a limit size of 29 bits to be used to store both the client ID and
> the X resources ID, so by reducing the number of clients allowed to connect to
> the X server, the user can increase the number of X resources per client or
> vice-versa.
>
> Parts of this patch are based on a similar patch from Adam Jackson
> <[email protected]>
>
> Signed-off-by: Adam Jackson <[email protected]>
> Signed-off-by: Olivier Fourdan <[email protected]>
> Reviewed-by: Adam Jackson <[email protected]>
> ---
>  v2: Use the user set client limit in multiple places instead of MAXCLIENTS,
>      Bump value for MAXCLIENTS, MAXSELECT, MAXSOCKS and OPEN_MAX to 512,
>      Requires an updated Xproto.
>  v3: Fix 256 limit still remaining in InitConnectionLimits()

I've squashed these two patches together as they are inter-dependent and
merged them.
   7ecdfbf..d206c24  master -> master

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to