httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/server util_filter.c
Date Sat, 22 Feb 2003 18:09:57 GMT
nd          2003/02/22 10:09:57

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES
               server   Tag: APACHE_2_0_BRANCH util_filter.c
  Log:
  While processing filters on internal redirects, remember seen EOS
  buckets also in the request structure of the redirect issuer(s). This
  prevents filters (such as mod_deflate) from adding garbage to the response,
  because ap_finalize_request_protocol won't send another EOS bucket then.
  
  PR: 14451
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.988.2.40 +5 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.39
  retrieving revision 1.988.2.40
  diff -u -r1.988.2.39 -r1.988.2.40
  --- CHANGES	22 Feb 2003 17:44:29 -0000	1.988.2.39
  +++ CHANGES	22 Feb 2003 18:09:56 -0000	1.988.2.40
  @@ -1,5 +1,10 @@
   Changes with Apache 2.0.45
   
  +  *) While processing filters on internal redirects, remember seen EOS
  +     buckets also in the request structure of the redirect issuer(s). This
  +     prevents filters (such as mod_deflate) from adding garbage to the
  +     response. PR 14451.  [André Malo]
  +
     *) suexec: Be more pedantic when cleaning environment. Clean it
        immediately after startup. PR 2790, 10449.
        [Jeff Stewart <jws@purdue.edu>, André Malo]
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.93.2.2  +10 -0     httpd-2.0/server/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_filter.c,v
  retrieving revision 1.93.2.1
  retrieving revision 1.93.2.2
  diff -u -r1.93.2.1 -r1.93.2.2
  --- util_filter.c	3 Feb 2003 17:32:01 -0000	1.93.2.1
  +++ util_filter.c	22 Feb 2003 18:09:57 -0000	1.93.2.2
  @@ -536,6 +536,16 @@
                * get two EOS buckets on the same request.
                */
               next->r->eos_sent = 1;
  +
  +            /* remember the eos for internal redirects, too */
  +            if (next->r->prev) {
  +                request_rec *prev = next->r->prev;
  +
  +                while (prev) {
  +                    prev->eos_sent = 1;
  +                    prev = prev->prev;
  +                }
  +            }
           }
           return next->frec->filter_func.out_func(next, bb);
       }
  
  
  

Mime
View raw message