diff options
author | Daniel Gruno <humbedooh@apache.org> | 2013-09-28 13:11:14 +0200 |
---|---|---|
committer | Daniel Gruno <humbedooh@apache.org> | 2013-09-28 13:11:14 +0200 |
commit | 85e297e619d7471bfdb9fa19cbcc62af89247b87 (patch) | |
tree | b9e234c61808f4c76ce82746972603d08b0c8169 /modules/lua | |
parent | r1526906 followup: (diff) | |
download | apache2-85e297e619d7471bfdb9fa19cbcc62af89247b87.tar.xz apache2-85e297e619d7471bfdb9fa19cbcc62af89247b87.zip |
Axe the README a bit, add fuankg as contributor. This will need a complete rewrite at some point.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/lua')
-rw-r--r-- | modules/lua/README | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/modules/lua/README b/modules/lua/README index 0be0adeba0..66fb57e610 100644 --- a/modules/lua/README +++ b/modules/lua/README @@ -1,7 +1,7 @@ -*- mode:org -*- * Requirements: -** lua 5.1 ( http://www.lua.org/ ) -** Apache HTTPD 2.2 ( http://httpd.apache.org/ ) or Apache HTTPD 2.3 +** lua 5.1, 5.2 ( http://www.lua.org/ ) or LuaJIT 2.x ( http://www.luajit.org/ ) +** Apache HTTPD 2.3 ( http://httpd.apache.org/ ) or higher * Documentation See docs/README @@ -15,25 +15,6 @@ types, pooled and singleton. On the other hand, singleton would work fine for almost all cases -- the exception being a process or server pool, and then we could stay singleton anyway and lock around it. - - The current "server scope" behavior could, instead, fall into - connection scope, for long-lived connections, really we want thread - scope (which Brian Akins knows how to do). Is there a pool - associated with a thread? Contention on the pool is a pain in a - highly concurrent environment. - - Could use apr_thread_data_(get|set) if I can find a way to hook into - thread destruction. Looks like apr threads let you use the standard - APR_POOL_DECLARE_ACCESSOR(thread); defined method, just need to look - up what form that takes. -- apr_thread_pool_get -- just attach to - that pool. - - Given that, we can associate a hash of lua_State instances with - arbitrary pools, such as the request pool, thread pool, server pool, - etc. We then use the file as key into the hash. Users, able to - specify the handler function, can then make use of the same file - with different handlers to reuse states. - * Task List @@ -43,13 +24,8 @@ it is pre-handler, will prolly be on the request_config somewhere, but sometimes cannot put there, so... fun ** TODO Mapping in the server_rec -** TODO Connection scoped vms ** TODO Figure out how reentrancy works regarding filter chain stuff. Do we need new "threads"? -** TODO Flesh out apw_*getvm for each flavor we allow -** TODO Rework apw_sgetvm to use the create_vm stuff like apw_rgetvm -** TODO apw_rgetvm needs to handle connection scoped vms -** TODO provide means to implement authn and authz providers ** TODO: Flatten LuaHook* to LuaHook phase file fn ? ** TODO: document or remove block sections ** TODO: test per-dir behavior of block sections @@ -78,3 +54,4 @@ ** Stefan Fritsch ** Eric Covener ** Daniel Gruno +** Günter Knauf |