httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main util_filter.c
Date Wed, 25 Oct 2000 10:47:53 GMT
rbb         00/10/25 03:47:52

  Modified:    src/main util_filter.c
  Log:
  Add a comment about a requirement with the eos_sent variable.
  
  Revision  Changes    Path
  1.37      +8 -0      apache-2.0/src/main/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util_filter.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- util_filter.c	2000/10/22 15:53:27	1.36
  +++ util_filter.c	2000/10/25 10:47:51	1.37
  @@ -239,6 +239,14 @@
       if (next) {
           ap_bucket *e;
           if ((e = AP_BRIGADE_LAST(bb)) && AP_BUCKET_IS_EOS(e) && next->r)
{
  +            /* This is only safe because HTTP_HEADER filter is always in
  +             * the filter stack.   This ensures that there is ALWAYS a
  +             * request-based filter that we can attach this to.  If the
  +             * HTTP_FILTER is removed, and another filter is not put in its
  +             * place, then handlers like mod_cgi, which attach their own
  +             * EOS bucket to the brigade will be broken, because we will
  +             * get two EOS buckets on the same request.
  +             */
               next->r->eos_sent = 1;
           }
           return next->frec->filter_func.out_func(next, bb);
  
  
  

Mime
View raw message