You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/26 13:32:32 UTC
svn commit: r1365950 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Author: humbedooh
Date: Thu Jul 26 11:32:32 2012
New Revision: 1365950
URL: http://svn.apache.org/viewvc?rev=1365950&view=rev
Log:
LuaScope also has a 'thread' value.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1365950&r1=1365949&r2=1365950&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Thu Jul 26 11:32:32 2012
@@ -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