httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r395986 - in /httpd/httpd/branches/2.2.x: CHANGES STATUS modules/filters/mod_deflate.c
Date Fri, 21 Apr 2006 18:49:07 GMT
Author: niq
Date: Fri Apr 21 11:49:06 2006
New Revision: 395986

URL: http://svn.apache.org/viewcvs?rev=395986&view=rev
Log:
Fix mod_deflate to work in an internal redirect

Modified:
    httpd/httpd/branches/2.2.x/CHANGES
    httpd/httpd/branches/2.2.x/STATUS
    httpd/httpd/branches/2.2.x/modules/filters/mod_deflate.c

Modified: httpd/httpd/branches/2.2.x/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/CHANGES?rev=395986&r1=395985&r2=395986&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/CHANGES [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/CHANGES [utf-8] Fri Apr 21 11:49:06 2006
@@ -1,6 +1,9 @@
                                                         -*- coding: utf-8 -*-
 Changes with Apache 2.2.2
 
+  *) mod_deflate: work correctly in an internal redirect
+     [Brian J. France <list firehawksystems com>]
+
   *) core: Prevent reading uninitialized memory while reading a line of
      protocol input.  PR 39282. [Davi Arnaut <davi haxent.com.br>]
 

Modified: httpd/httpd/branches/2.2.x/STATUS
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/STATUS?rev=395986&r1=395985&r2=395986&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/STATUS (original)
+++ httpd/httpd/branches/2.2.x/STATUS Fri Apr 21 11:49:06 2006
@@ -83,10 +83,6 @@
           Trunk version works
       +1: trawick, colm, jim
 
-    *) mod_deflate: handle internal redirects correctly
-         http://svn.apache.org/viewcvs?rev=395079&view=rev
-       +1: colm, wrowe, niq
-
     * mod_proxy: Do not release connections from connection pool twice as this
                  can cause different threads to use the same connection at the
                  same time. PR 38793.

Modified: httpd/httpd/branches/2.2.x/modules/filters/mod_deflate.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/filters/mod_deflate.c?rev=395986&r1=395985&r2=395986&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/branches/2.2.x/modules/filters/mod_deflate.c Fri Apr 21 11:49:06 2006
@@ -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);
         }



Mime
View raw message