We're in find_end_sequence() walking over the directive and the rest
of the tag but we stop parsing so we don't walk over too much storage
(e.g., mmap) at once). When we resume later, ctx->directive_length
has the value it had when we bailed out, so directive_length is wrong
and we hit errors like:
[Fri Aug 17 11:12:06 2001] [error] [client 127.0.0.1] unknown directiv
e "include virt" in parsed doc /home/trawick/apacheinst/htdocs/manual/
mod/mod_include.html
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90295
13f79535-47bb-0310-9956-
ffa450edef68
}
while (c < buf + len) {
if (ctx->bytes_parsed >= BYTE_COUNT_THRESHOLD) {
+ /* gonna start over parsing the directive next time through */
+ ctx->directive_length = 0;
return dptr;
}