Re: LUA hook ordering block/section form

2011-10-23 Thread Stefan Fritsch
On Monday 17 October 2011, Eric Covener wrote: I'm thinking of tweaking mod_lua to allow most LuaHook* to run early' or late. Currently they all run APR_HOOK_MIDDLE which can be kind of limiting. Would it be acceptable to just register three hooks for each phase (early/middle/late) and

LUA hook ordering block/section form

2011-10-17 Thread Eric Covener
I'm thinking of tweaking mod_lua to allow most LuaHook* to run early' or late. Currently they all run APR_HOOK_MIDDLE which can be kind of limiting. Would it be acceptable to just register three hooks for each phase (early/middle/late) and continue to bail out quickly if no lua code is

Re: dynamic hook ordering

2004-06-18 Thread Geoffrey Young
hi all... any feedback on this? the original patch is here: http://marc.theaimsgroup.com/?l=apache-httpd-devm=108693011011443w=2 --Geoff ok, here's a first pass at just a small part - achieve the hook listing by offering an apr_table_do()-esque iterator just for hooks. the output of

Re: dynamic hook ordering

2004-06-18 Thread Cliff Woolley
On Fri, 18 Jun 2004, Geoffrey Young wrote: any feedback on this? the original patch is here: http://marc.theaimsgroup.com/?l=apache-httpd-devm=108693011011443w=2 Sorry, had forgotten to go back and review. I'm forwarding it to my at-work email addr (which doesn't have 59,000 msgs in the

Re: dynamic hook ordering

2004-06-10 Thread Geoffrey Young
Cliff Woolley wrote: On Wed, 9 Jun 2004, Geoffrey Young wrote: I wanted to ping everyone about an idea I've been throwing around for a few months now. I'd like the ability to shuffle the declared hook ordering around, most likely during the post-config phase. There was some discussion

dynamic hook ordering

2004-06-09 Thread Geoffrey Young
hi all I wanted to ping everyone about an idea I've been throwing around for a few months now. I'd like the ability to shuffle the declared hook ordering around, most likely during the post-config phase. basically what I would like to be able to do is shift a hook from one place (say

Re: dynamic hook ordering

2004-06-09 Thread Cliff Woolley
On Wed, 9 Jun 2004, Geoffrey Young wrote: I wanted to ping everyone about an idea I've been throwing around for a few months now. I'd like the ability to shuffle the declared hook ordering around, most likely during the post-config phase. There was some discussion about this or something

Re: dynamic hook ordering

2004-06-09 Thread Geoffrey Young
Cliff Woolley wrote: On Wed, 9 Jun 2004, Geoffrey Young wrote: I wanted to ping everyone about an idea I've been throwing around for a few months now. I'd like the ability to shuffle the declared hook ordering around, most likely during the post-config phase. There was some discussion

Re: Hook ordering

2003-10-18 Thread Ben Laurie
, but I can't find a way to get the names of ALL of the hooks in an entire system and then list all the registrants of each of them. Ah, yeah. There is a utility that fishes them out of the source code but that's not what you want. What we _really_ want is a hook-listing API, so you can write hook

Re: Hook ordering

2003-10-17 Thread Ben Laurie
Cliff Woolley wrote: Noel and I had a little discussion just now on IRC about hook ordering and the fact that in 2.0 we have made the admin's life a little harder by hard-coding the ordering of certain modules (eg mod_dav vs mod_jk2). Basically the problem is that a completely automatic

Re: Hook ordering

2003-10-17 Thread Cliff Woolley
On Fri, 17 Oct 2003, Ben Laurie wrote: For this one, it looks like we might need a way to keep track at a global scope what hooks there are. Right now, the only list of hooks is static to the file the hooks were declared in (a static struct called _hooks in that file). Or we could

Hook ordering

2003-10-16 Thread Cliff Woolley
Noel and I had a little discussion just now on IRC about hook ordering and the fact that in 2.0 we have made the admin's life a little harder by hard-coding the ordering of certain modules (eg mod_dav vs mod_jk2). Basically the problem is that a completely automatic ordering is good