mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user