]> granicus.if.org Git - apache/commitdiff
LuaScope also has a 'thread' value.
authorDaniel Gruno <humbedooh@apache.org>
Thu, 26 Jul 2012 11:32:32 +0000 (11:32 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Thu, 26 Jul 2012 11:32:32 +0000 (11:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1365950 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_lua.xml

index 8e139546a598ce1153e239a4bd8709b63926d612..dfdc3a0e8a714550f8fc4ce39d2c7e6a398e0d88 100644 (file)
@@ -490,7 +490,7 @@ end
 <directivesynopsis>
 <name>LuaScope</name>
 <description>One of once, request, conn -- default is once</description>
-<syntax>LuaScope once|request|conn [max|min max]</syntax>
+<syntax>LuaScope once|request|conn|thread [max|min max]</syntax>
 <default>LuaScope once</default>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context>
@@ -509,6 +509,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.</dd>
 <!-- not implemented
     <dt>server:</dt>  <dd>This one is different than others because the
             server scope is quite long lived, and multiple threads