summaryrefslogtreecommitdiffstats
path: root/modules/lua
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2016-12-03 22:37:52 +0100
committerChristophe Jaillet <jailletc36@apache.org>2016-12-03 22:37:52 +0100
commitcd677cee0c027fbd87f13c3782cd300792704683 (patch)
tree7588ece7e2bb9af1084c6a8f4e820a373c25b152 /modules/lua
parentRemove some spaces to synch with 2.4 (diff)
downloadapache2-cd677cee0c027fbd87f13c3782cd300792704683.tar.xz
apache2-cd677cee0c027fbd87f13c3782cd300792704683.zip
The default value of 'inherit' should be AP_LUA_INHERIT_UNSET.
With this value, the behavior is the same as 'parent-first' in the 'LuaInherit' directive If not explicitelly initialized, its value is 0 because of the 'apr_calloc 'in 'create_dir_config'. 0 means 'AP_LUA_INHERIT_NONE' PR 60419 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1772489 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/lua')
-rw-r--r--modules/lua/mod_lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c
index 0f0c2596e2..1076fb16b9 100644
--- a/modules/lua/mod_lua.c
+++ b/modules/lua/mod_lua.c
@@ -1958,6 +1958,7 @@ static void *create_dir_config(apr_pool_t *p, char *dir)
cfg->codecache = AP_LUA_CACHE_UNSET;
cfg->vm_min = 0;
cfg->vm_max = 0;
+ cfg->inherit = AP_LUA_INHERIT_UNSET;
return cfg;
}