Hi,

Patch for the CacheMaxStreamingBuffer directive in mod_cache
the value was never used because no override in merge config function.

so now, the mod_cache will be able to handle multiple bucket answer.

Matthieu
? mod_cache.c-patched
? patch.cache
? patch_mod_cache
Index: mod_cache.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/experimental/mod_cache.c,v
retrieving revision 1.58
diff -u -r1.58 mod_cache.c
--- mod_cache.c 12 Sep 2002 14:36:18 -0000      1.58
+++ mod_cache.c 24 Sep 2002 16:54:59 -0000
@@ -920,6 +920,11 @@
         ? base->ignorecachecontrol
         : overrides->ignorecachecontrol;
 
+    ps->max_streaming_buffer_size  =
+        (overrides->max_streaming_buffer_size == 0)
+        ? base->max_streaming_buffer_size
+        : overrides->max_streaming_buffer_size;
+
     return ps;
 }
 static const char *set_cache_ignore_no_last_mod(cmd_parms *parms, void *dummy,

Reply via email to