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:10:30 GMT
trawick     01/08/17 13:10:30

  Modified:    modules/filters mod_include.c
  Log:
  we're only going to re-scan the directive when we're in
  PARSE_DIRECTIVE state, so only reset directive_length when
  in that state
  
  Revision  Changes    Path
  1.123     +4 -2      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.122
  retrieving revision 1.123
  diff -u -r1.122 -r1.123
  --- mod_include.c	2001/08/17 17:24:46	1.122
  +++ mod_include.c	2001/08/17 20:10:30	1.123
  @@ -270,8 +270,10 @@
           }
           while (c < buf + len) {
               if (ctx->bytes_parsed >= BYTE_COUNT_THRESHOLD) {
  -                /* gonna start over parsing the directive next time through */
  -                ctx->directive_length = 0;
  +                if (ctx->state == PARSE_DIRECTIVE) {
  +                    /* gonna start over parsing the directive next time through */
  +                    ctx->directive_length = 0;
  +                }
                   return dptr;
               }
   
  
  
  

Mime
View raw message