]> granicus.if.org Git - apache/commitdiff
We also need to increment *readbytes when we find a match in the middle of
authorJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 10 Oct 2001 22:14:10 +0000 (22:14 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Wed, 10 Oct 2001 22:14:10 +0000 (22:14 +0000)
a bucket.

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

server/core.c

index 1286dadcd4c9dd58b3843029eaf54bae0b8e3a5e..50f9d05a3a69fef3784525f35f457dd5f0e7ae5c 100644 (file)
@@ -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);