Mailing List Archive

Patch for longer values for 'FcgidInitialEnv' (Patch: increase-INITENV_VAL_LEN.patch)
Hello list,

this trivial patch increased the max length for 'FcgidInitialEnv'. The default
value of 128 Bytes is a little bit to small for enviromental variables and
personally I've encountered real time values of more than >128 Bytes.

So I just doubled the value with the attached patch. Please feel free to
include this patch in the next release.

--
So long... Erik
Re: Patch for longer values for 'FcgidInitialEnv' (Patch: increase-INITENV_VAL_LEN.patch) [ In reply to ]
On Wed, Oct 20, 2010 at 7:24 AM, Erik Wasser <erik.wasser@iquer.net> wrote:
> Hello list,
>
> this trivial patch increased the max length for 'FcgidInitialEnv'. The default
> value of 128 Bytes is a little bit to small for enviromental variables and
> personally I've encountered real time values of more than >128 Bytes.
>
> So I just doubled the value with the attached patch. Please feel free to
> include this patch in the next release.

You may need to keep the patch locally for a while.

I think the fix is to rework the way that envvars are stored and
transmitted to the daemon to minimize storage use/bytes sent and at
the same time remove such constraints on the number or size of names
and values.