On Thu, Dec 12, 2013 at 2:13 PM, Kean Johnston <[email protected]>wrote:

> This is directed at "trawick" because svn blame puts the blame on him/her
> but others may have some useful answer. There is this bit of code in that
> file (send_environment):
>
> avail_len = 16 * 1024; /* our limit per record, which could have been up
>                         * to AP_FCGI_MAX_CONTENT_LEN
>                         */
>
> Why impose an arbitrary limit like that? That precludes any really large
> environment variables. There is no automatic variable with limited buffer
> space. FastCGI records can be up to 64K and I can think of no reason to use
> any other limit, but then again I may be missing something.
>
> Kean
>

There's nothing magic about it, and there is indeed the potential for a
problem with the environment variable limitation.  Generally I preferred to
have a lower per-request memory use even if it takes another write to send
all the envars to the application.

-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to