ctx->bytes_in is never used. Remove a useless iteration through the brigade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1234576 13f79535-47bb-0310-9956-
ffa450edef68
ctx->buffered_bb = apr_brigade_create(c->pool, c->bucket_alloc);
}
- if (new_bb != NULL) {
- for (bucket = APR_BRIGADE_FIRST(new_bb); bucket != APR_BRIGADE_SENTINEL(new_bb); bucket = APR_BUCKET_NEXT(bucket)) {
- if (bucket->length > 0) {
- ctx->bytes_in += bucket->length;
- }
- }
+ if (new_bb != NULL)
bb = new_bb;
- }
if ((ctx->buffered_bb != NULL) &&
!APR_BRIGADE_EMPTY(ctx->buffered_bb)) {