Commit 2d19719e authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90303 13f79535-47bb-0310-9956-ffa450edef68
parent f59ba9dc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;