contain only a single byte is if slen==1, meaning that we've
replaced <!--# with a single-character token, and that character
is the first character in the bucket. If that happens, then
pos+slen (aka 1) is the right amount by which to increase
bytes_parsed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94450
13f79535-47bb-0310-9956-
ffa450edef68
{
ctx->head_start_bucket = dptr;
ctx->head_start_index = pos;
- ctx->bytes_parsed += pos + slen; /* pjr - isn't this incrementing by too much?
- * What if only 1 byte in this bucket?
- */
+ ctx->bytes_parsed += pos + slen;
return found_start_sequence(dptr, ctx, pos + slen, len);
}
}