Andrej van der Zee wrote:
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?


Yes. create_connection() is the first hook run as part of request processing, a delay in create_connection() will result in a delay in HTTP processing.

srp
--
http://saju.net.in

Reply via email to