httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Libo Song <ls...@google.com>
Subject Re: After-request hooks or asychronous modules
Date Fri, 23 Apr 2010 22:36:08 GMT
Hi Samuel,

I am very curious about your solution. Have you satisfied with what
you are doing.  I am also facing a problem to asynchronous do some
job related to the served page, but the served page do not rely
on what I am doing.

Would you please share your experience?

Thanks,
Libo

On Sat, Feb 27, 2010 at 7: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?
>
> Thanks in advance.
> Regards,
> Samuel.
>

Mime
View raw message