It depends what you want to do in this hook.

--- On Sun, 4/18/10, Some Guy <teknos...@gmail.com> wrote:

From: Some Guy <teknos...@gmail.com>
Subject: Re: Process lifetime and hooks to use
To: modules-dev@httpd.apache.org
Date: Sunday, April 18, 2010, 5:51 PM

Ah great.  I know what I should do with that.  Any insight on the
differences in MPMs and what to watch out for?

On Sun, Apr 18, 2010 at 12:22 PM, William A. Rowe Jr.
<wr...@rowe-clan.net>wrote:

> On 4/18/2010 2:34 AM, alin vasile wrote:
> > the monitor hook gets only a pointer to an apr_pool_t structure.
>
> Take a look at apr_pool_data_* API's, that should provide you all of the
> context and persistence you need.
>
> You will never see anything about servers, connections or requests because
> this is running in the *parent*, it is blissfully unaware of specific
> requests
> and is therefore immune from being hijaaked by remote code execution and
> less
> severe but destabilizing attacks on the request processing code itself.
>



      

Reply via email to