From: Justin Erenkrantz Date: Wed, 10 Oct 2001 22:14:10 +0000 (+0000) Subject: We also need to increment *readbytes when we find a match in the middle of X-Git-Tag: 2.0.26~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e109fb066bae400c50a6b065a1a842abe6cccd69;p=apache We also need to increment *readbytes when we find a match in the middle of a bucket. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91411 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 1286dadcd4..50f9d05a3a 100644 --- a/server/core.c +++ b/server/core.c @@ -2909,6 +2909,7 @@ static int core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mod apr_bucket_split(e, pos - str + 1); APR_BUCKET_REMOVE(e); APR_BRIGADE_INSERT_TAIL(b, e); + *readbytes += pos - str; return APR_SUCCESS; } APR_BUCKET_REMOVE(e);