From: Nick Kew Date: Sat, 18 Nov 2006 20:26:28 +0000 (+0000) Subject: Housekeeping: keep track of size even in the edge-case where validation X-Git-Tag: 2.3.0~2018 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba96e7f28c9488632a28133695a2c435e654da0a;p=thirdparty%2Fapache%2Fhttpd.git Housekeeping: keep track of size even in the edge-case where validation bytes trickle in over multiple buckets. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@476600 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 1d3f1aea22b..2fd15cba5f2 100644 --- a/modules/filters/mod_deflate.c +++ b/modules/filters/mod_deflate.c @@ -1150,6 +1150,7 @@ static apr_status_t inflate_out_filter(ap_filter_t *f, ctx->stream.next_in, copy_size); /* Saved copy_size bytes */ ctx->stream.avail_in -= copy_size; + ctx->validation_buffer_length += copy_size; } if (ctx->stream.avail_in) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,