update last_e and nbytes after compacting the brigade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92174
13f79535-47bb-0310-9956-
ffa450edef68
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);
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);
}