httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: associating an object with a request
Date Wed, 23 Apr 2014 20:34:32 GMT
On Wed, Apr 23, 2014 at 4:31 PM, Joshua Marantz <jmarantz@google.com> wrote:
>
> I want to create a data structure and associate it with a request_rec*,
> which will be accessed by multiple filters and handlers in our module.

You can allocate your structure from r->pool and associate it with the
current request with ap_get|set_module_config(r->request_config,
&your-module)

-- 
Eric Covener
covener@gmail.com

Mime
View raw message