]> granicus.if.org Git - apache/commitdiff
Remove [max|min max] from the LuaScope syntax, since the 'server' scope is not implem...
authorDaniel Gruno <humbedooh@apache.org>
Tue, 31 Jul 2012 14:57:48 +0000 (14:57 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Tue, 31 Jul 2012 14:57:48 +0000 (14:57 +0000)
Add the 'thread' value to the list of possible scopes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1367592 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index dd320edb823d690e7a5debed47d0496b70708971..83dc8326829478b0f53db500d6ca09330e792533 100644 (file)
@@ -416,8 +416,8 @@ end
 
 <directivesynopsis>
 <name>LuaScope</name>
-<description>One of once, request, conn -- default is once</description>
-<syntax>LuaScope once|request|conn [max|min max]</syntax>
+<description>One of once, request, conn, thread -- default is once</description>
+<syntax>LuaScope once|request|conn|thread</syntax>
 <default>LuaScope once</default>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context>
@@ -436,6 +436,8 @@ end
              request scoped.</dd>
 
     <dt>conn:</dt> <dd>Same as request but attached to the connection_rec</dd>
+    <dt>thread:</dt> <dd>Use the interpreter for the lifetime of the thread 
+            handling the request (only available with threaded MPMs).</dd>
 <!-- not implemented
     <dt>server:</dt>  <dd>This one is different than others because the
             server scope is quite long lived, and multiple threads