]> granicus.if.org Git - apache/commitdiff
Fix a problem in mod_include when we reached the BYTE_COUNT_THRESHOLD
authorJeff Trawick <trawick@apache.org>
Fri, 17 Aug 2001 20:41:15 +0000 (20:41 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 17 Aug 2001 20:41:15 +0000 (20:41 +0000)
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90303 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index 50ea51545f70d7bd287c5e9648647f890618751e..78ff6a38b3bc66affdd82b0f13b8ee61c00f3c5a 100644 (file)
@@ -182,6 +182,8 @@ static apr_bucket *find_start_sequence(apr_bucket *dptr, include_ctx_t *ctx,
                 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;