httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrej van der Zee <andrejvander...@gmail.com>
Subject Re: child_init for threads?
Date Thu, 19 Mar 2009 02:04:26 GMT
Hi,

Thanks for your reply.

>
> AFAIK there's no support for such thing in apache. Have a look
> yourself in server/mpm/worker/worker.c.
>
> You can hook create_connection (the first hook offered by apache in a
> thread after its creation). However, create_connection is called
> several times during the life of a thread, so you'll need some boolean
> to check if you've already initialised the thread-specific data.
>

Do you know if my handler for create_connection() takes (lets say) 3
seconds to execute, would this slow down an HTTP request for 3 seconds
too? Or is it executed totally outside the processing of an HTTP
request?

Thank you,
Andrej

Mime
View raw message