]> granicus.if.org Git - apache/commitdiff
Housekeeping: keep track of size even in the edge-case where validation
authorNick Kew <niq@apache.org>
Sat, 18 Nov 2006 20:26:28 +0000 (20:26 +0000)
committerNick Kew <niq@apache.org>
Sat, 18 Nov 2006 20:26:28 +0000 (20:26 +0000)
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

index 1d3f1aea22b0ecac7406da5e0c21c25c69213d66..2fd15cba5f21ec8bb1df5be7c26051a36cc19c66 100644 (file)
@@ -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,