httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: After-request hooks or asychronous modules
Date Sun, 28 Feb 2010 03:14:23 GMT
On Sat, Feb 27, 2010 at 6:50 PM, Samuel ROZE <samuel.roze@gmail.com> wrote:
> Hello,
>
> I'm writing an Apache2 module which takes some time to be executed
> (500ms avg) because it is communicating with another server for each
> request. What is it doing haven't any consequence on the served page
> or file, so it can be run after that the connection with the client
> was closed.
>
> Now, it is working as a basic module, with libcurl and each request
> take 500ms because it is executed after sending the result page, even
> if it's not needed... Is it possible to execute a module after that
> the request was done? Or is it possible to create a function which
> will be called at this time using a hook?

How about the log_transaction hook?

-- 
Eric Covener
covener@gmail.com

Mime
View raw message