httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_include.c
Date Fri, 17 Aug 2001 20:41:15 GMT
trawick     01/08/17 13:41:15

  Modified:    modules/filters mod_include.c
  Log:
  Fix a problem in mod_include when we reached the BYTE_COUNT_THRESHOLD
  after parsing the first part of the tag.  We could get errors like
  
  [error] [client 127.0.0.1] unknown directive "<!" in parsed doc filename
  
  Revision  Changes    Path
  1.124     +2 -0      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.123
  retrieving revision 1.124
  diff -u -r1.123 -r1.124
  --- mod_include.c	2001/08/17 20:10:30	1.123
  +++ mod_include.c	2001/08/17 20:41:15	1.124
  @@ -182,6 +182,8 @@
                   if (ctx->head_start_index > 0) {
                       ctx->head_start_index  = 0;
                       ctx->head_start_bucket = tmp_bkt;
  +                    ctx->parse_pos = 0;
  +                    ctx->state = PRE_HEAD;
                   }
   
                   return tmp_bkt;
  
  
  

Mime
View raw message