You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Erik Wasser <er...@iquer.net> on 2010/10/20 13:24:21 UTC

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)

Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Oct 20, 2010 at 7:24 AM, Erik Wasser <er...@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.