httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Brian" <Brian.Ak...@turner.com>
Subject Re: Reducing number of mod_lua hook directives
Date Tue, 11 May 2010 16:59:19 GMT
The hook runner itself should just be in lua.  Instead of scripts, you write
lua modules.  If a lua module has a function with the correct names (ie,
same as hooks) it uses that:

Ie in my module foo

 function fixups( r )
  ....


Would get called at fixups, etc.


No need for a state per file, etc. Just have one state per thread.



-- 
Brian Akins


Mime
View raw message