From 6f11e6bd8318a6c7b360d77bda76bc8072a430d9 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sat, 5 Sep 2015 06:36:56 +0000 Subject: [PATCH] rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1701350 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/developer/lua.html.en | 4 ++-- docs/manual/mod/mod_lua.html.en | 2 +- docs/manual/mod/mod_lua.xml.fr | 2 +- docs/manual/mod/mod_lua.xml.meta | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/manual/developer/lua.html.en b/docs/manual/developer/lua.html.en index be39e48b86..f69f1dddb1 100644 --- a/docs/manual/developer/lua.html.en +++ b/docs/manual/developer/lua.html.en @@ -81,7 +81,7 @@ that every call to a Lua script will spawn a new Lua state that handles that script and is destroyed immediately after. This option keeps the memory footprint of mod_lua low, but also affects the processing speed of a request. If you have the memory to spare, you can set the scope to thread, -which will make mod_lua spawn a Lua state that lasts the entirity of a thread's +which will make mod_lua spawn a Lua state that lasts the entirety of a thread's lifetime, speeding up request processing by 2-3 times. Since mod_lua will create a state for each script, this may be an expensive move, memory-wise, so to compromise between speed and memory usage, you can choose the server @@ -217,7 +217,7 @@ function remap(r) -- browse through the rewrite map for key, entry in pairs(map) do -- Match source regex against URI - local match = apache2.regex(r, entry.source, r.uri) then + local match = r:regex(entry.source, r.uri) then if match and match[0] then r.filename = interpolateString(entry.destination, match) -- Is this a proxied remap? diff --git a/docs/manual/mod/mod_lua.html.en b/docs/manual/mod/mod_lua.html.en index 3abb015b23..f7c043395b 100644 --- a/docs/manual/mod/mod_lua.html.en +++ b/docs/manual/mod/mod_lua.html.en @@ -165,7 +165,7 @@ function handle(r) -- use our own Error contents r:puts("Unsupported HTTP method " .. r.method) r.status = 405 - return apache2.ok + return apache2.OK else -- use the ErrorDocument return 501 diff --git a/docs/manual/mod/mod_lua.xml.fr b/docs/manual/mod/mod_lua.xml.fr index ed2c94bcb8..41b5dbc307 100644 --- a/docs/manual/mod/mod_lua.xml.fr +++ b/docs/manual/mod/mod_lua.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_lua.xml.meta b/docs/manual/mod/mod_lua.xml.meta index b55c7710e9..8fc1a0efdf 100644 --- a/docs/manual/mod/mod_lua.xml.meta +++ b/docs/manual/mod/mod_lua.xml.meta @@ -8,6 +8,6 @@ en - fr + fr -- 2.50.0