httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1772489 - /httpd/httpd/trunk/modules/lua/mod_lua.c
Date Sat, 03 Dec 2016 21:37:52 GMT
Author: jailletc36
Date: Sat Dec  3 21:37:52 2016
New Revision: 1772489

URL: http://svn.apache.org/viewvc?rev=1772489&view=rev
Log:
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

Modified:
    httpd/httpd/trunk/modules/lua/mod_lua.c

Modified: httpd/httpd/trunk/modules/lua/mod_lua.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.c?rev=1772489&r1=1772488&r2=1772489&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.c (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.c Sat Dec  3 21:37:52 2016
@@ -1958,6 +1958,7 @@ static void *create_dir_config(apr_pool_
     cfg->codecache = AP_LUA_CACHE_UNSET;
     cfg->vm_min = 0;
     cfg->vm_max = 0;
+    cfg->inherit = AP_LUA_INHERIT_UNSET;
 
     return cfg;
 }



Mime
View raw message