summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/core.c b/server/core.c
index aeeaf92cbd..caf2d84ac9 100644
--- a/server/core.c
+++ b/server/core.c
@@ -3088,6 +3088,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b)
while (temp != e) {
apr_bucket *d;
rv = apr_bucket_read(temp, &str, &n, APR_BLOCK_READ);
+ nbytes -= n;
apr_brigade_write(temp_brig, NULL, NULL, str, n);
d = temp;
temp = APR_BUCKET_NEXT(temp);
@@ -3098,6 +3099,7 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b)
APR_BRIGADE_INSERT_HEAD(b, temp);
apr_brigade_destroy(temp_brig);
e = temp;
+ last_e = e;
nvec = 0;
apr_bucket_read(e, &str, &n, APR_BLOCK_READ);
}