httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: After-request hooks or asychronous modules
Date Sun, 28 Feb 2010 11:15:28 GMT
On Sun, Feb 28, 2010 at 5:27 AM, Samuel ROZE <> wrote:
> Yes, the log_transaction hook is what I expect, thanks! :-)
> But I've still a problem: if in my hook function I put a sleep function,
> which sleep for 10 seconds for example, the first page is served
> correctly (few ms) but for the next, it will wait for these 10s (not
> really 10s but the rest time), is it because I should have threads?

You could start a dedicated thread or process in e.g. post_config and
just post work to it asynchronously in log_transaction.

Eric Covener

View raw message