httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1370466 - in /httpd/httpd/trunk/modules/lua: mod_lua.c mod_lua.h
Date Tue, 07 Aug 2012 19:38:09 GMT
Author: sf
Date: Tue Aug  7 19:38:09 2012
New Revision: 1370466

URL: http://svn.apache.org/viewvc?rev=1370466&view=rev
Log:
There is only one global provider name space, therefore allow
LuaAuthzProvider only in global scope.

Remove unnecessary server config field.

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

Modified: httpd/httpd/trunk/modules/lua/mod_lua.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.c?rev=1370466&r1=1370465&r2=1370466&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.c (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.c Tue Aug  7 19:38:09 2012
@@ -1324,7 +1324,7 @@ static const char *register_authz_provid
                                            const char *function)
 {
     lua_authz_provider_spec *spec;
-    const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE);
+    const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
     if (err)
         return err;
 

Modified: httpd/httpd/trunk/modules/lua/mod_lua.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.h?rev=1370466&r1=1370465&r2=1370466&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.h (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.h Tue Aug  7 19:38:09 2012
@@ -138,8 +138,6 @@ typedef struct
 
     /* value of the LuaRoot directive */
     const char *root_path;
-
-    apr_hash_t *authz_providers;
 } ap_lua_server_cfg;
 
 typedef struct



Mime
View raw message