httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Khare <ashis...@gmail.com>
Subject Re: Callback function which is just called before connection is destroyed
Date Mon, 23 Feb 2009 18:13:21 GMT
Eric,

Thanks for the clarification.
Just one more question.
My requirement is when request or associated reponse is served. I need to
clean up my memory functions.
I think your suggestion "r->connection->pool' will solve my problem.
Please confirm.

-Ashish



On Mon, Feb 23, 2009 at 11:37 PM, Eric Covener <covener@gmail.com> wrote:

> On Mon, Feb 23, 2009 at 12:53 PM, Ashish Khare <ashishrk@gmail.com> wrote:
> > Hi Eric,
> >
> > Thanks for the fast response.
> > By "Session" I mean when the request comes into the picture, the "c"
> > <Connection> and "r"<request_rec> parameters are intialized.
> > Session ends when the request is served. the "c" and "r" parameters got
> > destroyed or cleanup.
> >
> > Can you please send me the code snippet to register the cleanup function
> as
> > you suggested.
>
> They're not initialized and destroyed together, e.g. keepalive.
>
> See ssl_io_filter_init in modules/ssl/ssl_engine_io.c, except you'd
> need to grab the conn_rec from the request_rec.
>
> --
>  Eric Covener
> covener@gmail.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message