httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r651863 - in /httpd/mod_wombat/trunk: mod_wombat.c mod_wombat.h
Date Sat, 26 Apr 2008 21:45:12 GMT
Author: brianm
Date: Sat Apr 26 14:45:11 2008
New Revision: 651863

URL: http://svn.apache.org/viewvc?rev=651863&view=rev
Log:
Fix bug where code cache style directive is ignored for non-LuaMapRequest handlers

Modified:
    httpd/mod_wombat/trunk/mod_wombat.c
    httpd/mod_wombat/trunk/mod_wombat.h

Modified: httpd/mod_wombat/trunk/mod_wombat.c
URL: http://svn.apache.org/viewvc/httpd/mod_wombat/trunk/mod_wombat.c?rev=651863&r1=651862&r2=651863&view=diff
==============================================================================
--- httpd/mod_wombat/trunk/mod_wombat.c (original)
+++ httpd/mod_wombat/trunk/mod_wombat.c Sat Apr 26 14:45:11 2008
@@ -88,6 +88,7 @@
     
     ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, "handling [%s] in mod_wombat", r->filename);
     apw_dir_cfg *dcfg = ap_get_module_config(r->per_dir_config, &wombat_module);
+    
     if (!r->header_only) {        
         apw_request_cfg* rcfg = ap_get_module_config(r->request_config, &wombat_module);
         mapped_request_details *d = rcfg->mapped_request_details;
@@ -98,7 +99,7 @@
             spec->scope = dcfg->vm_scope;
             spec->pool = r->pool;
             spec->file = r->filename;
-            spec->code_cache_style = APW_CODE_CACHE_STAT;
+            spec->code_cache_style = dcfg->code_cache_style;
             d->spec = spec;
             d->function_name = "handle";
         }

Modified: httpd/mod_wombat/trunk/mod_wombat.h
URL: http://svn.apache.org/viewvc/httpd/mod_wombat/trunk/mod_wombat.h?rev=651863&r1=651862&r2=651863&view=diff
==============================================================================
--- httpd/mod_wombat/trunk/mod_wombat.h (original)
+++ httpd/mod_wombat/trunk/mod_wombat.h Sat Apr 26 14:45:11 2008
@@ -82,7 +82,7 @@
     /** 
      * APW_SCOPE_ONCE | APW_SCOPE_REQUEST | APW_SCOPE_CONN | APW_SCOPE_SERVER
      */
-    int vm_scope;
+    unsigned int vm_scope;
     
     // info for the hook harnesses 
     apr_hash_t *hooks; // <wombat_hook_info>



Mime
View raw message