From ba96e7f28c9488632a28133695a2c435e654da0a Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Sat, 18 Nov 2006 20:26:28 +0000 Subject: [PATCH] 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 --- modules/filters/mod_deflate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c index 1d3f1aea22..2fd15cba5f 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, -- 2.40.0