You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2014/06/30 18:54:27 UTC
svn commit: r1606836 - in /httpd/httpd/trunk/modules/lua: mod_lua.c mod_lua.h
Author: breser
Date: Mon Jun 30 16:54:27 2014
New Revision: 1606836
URL: http://svn.apache.org/r1606836
Log:
mod_lua: Remove dead code left over from the old code cache.
The code that used this was commented out in r721594, then removed entirely in
r728497, and finally a commit was made intending to remove the last traces of
the code cache in r1200513, but this initialization lived on anyway.
* modules/lua/mod_lua.c
(create_server_config): Remove unused empty hash and rwlock for hash.
* modules/lua/mod_lua.h
(ap_lua_server_cfg): Remove unneeded hash and rwlock entries.
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=1606836&r1=1606835&r2=1606836&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.c (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.c Mon Jun 30 16:54:27 2014
@@ -1960,8 +1960,6 @@ static void *create_server_config(apr_po
{
ap_lua_server_cfg *cfg = apr_pcalloc(p, sizeof(ap_lua_server_cfg));
- cfg->vm_reslists = apr_hash_make(p);
- apr_thread_rwlock_create(&cfg->vm_reslists_lock, p);
cfg->root_path = NULL;
return cfg;
Modified: httpd/httpd/trunk/modules/lua/mod_lua.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.h?rev=1606836&r1=1606835&r2=1606836&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.h (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.h Mon Jun 30 16:54:27 2014
@@ -135,9 +135,6 @@ typedef struct
typedef struct
{
- apr_hash_t *vm_reslists;
- apr_thread_rwlock_t *vm_reslists_lock;
-
/* value of the LuaRoot directive */
const char *root_path;
} ap_lua_server_cfg;