You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2001/08/03 05:41:51 UTC

cvs commit: httpd-2.0/modules/filters mod_include.h

rbb         01/08/02 20:41:51

  Modified:    modules/filters mod_include.h
  Log:
  Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.
  
  Revision  Changes    Path
  1.19      +5 -1      httpd-2.0/modules/filters/mod_include.h
  
  Index: mod_include.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.h,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- mod_include.h	2001/04/25 17:07:40	1.18
  +++ mod_include.h	2001/08/03 03:41:51	1.19
  @@ -187,9 +187,13 @@
   if ((APR_BRIGADE_EMPTY(cntxt->ssi_tag_brigade)) &&                \
       (cntxt->head_start_bucket != NULL)) {                         \
       apr_bucket_brigade *tag_plus;                                 \
  +    int rv;                                                       \
                                                                     \
       tag_plus = apr_brigade_split(brgd, cntxt->head_start_bucket); \
  -    ap_pass_brigade(next, brgd);                                  \
  +    rv = ap_pass_brigade(next, brgd);                             \
  +    if (rv != APR_SUCCESS) {                                      \
  +        return rv;                                                \
  +    }                                                             \
       cntxt->bytes_parsed = 0;                                      \
       brgd = tag_plus;                                              \
   }