+1 from me.

On 19/04/2006, at 4:37 AM, Brian J. France wrote:

This was talked about a few weeks back but I don't think anything ever came of it. The patch below would allow mod_deflate to compress internal redirects while still skipping sub requests.

I have been running this on my personal server for a few weeks now with no issues.

Let the voting begin.

Brian

Index: modules/filters/mod_deflate.c
===================================================================
--- modules/filters/mod_deflate.c       (revision 394996)
+++ modules/filters/mod_deflate.c       (working copy)
@@ -240,7 +240,7 @@
         const char *encoding;
         /* only work on main request/no subrequests */
-        if (!ap_is_initial_req(r)) {
+        if (r->main != NULL) {
             ap_remove_output_filter(f);
             return ap_pass_brigade(f->next, bb);
         }


--
Ian Holsman
Zilbo.com / (425) 296-6771 USA/ ++61 (03) 9818-0132 Australia

You miss 100% of the shots you don't take -- Wayne Gretzky


Reply via email to