Re: use "global" data in handler (was : custom proxy setup with mod_perl)

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAC0_be20HeUXowQ4g-Ff_2b9iLwePf=Vzm_HKUk5LSXn1xxQdw@mail.gmail.com>
It sounds like you have it right.  If you don't define the package variable
$URLS during startup, it will be undef when the child process handles the
first request and will keep whatever data you put into it after that.

- Perrin

On Sat, Nov 24, 2012 at 8:09 AM, André Warnier <[email protected]> wrote:

> First, I may be wrong in my understanding. (that's a question).
>
> Second, if I am right in the above, then does this same understanding
> extend to all possible Apache MPMs ?  Or am I creating a horrible risk of
> some race condition, or memory leak here ?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.