You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2006/11/18 21:26:29 UTC
svn commit: r476600 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Author: niq
Date: Sat Nov 18 12:26:28 2006
New Revision: 476600
URL: http://svn.apache.org/viewvc?view=rev&rev=476600
Log:
Housekeeping: keep track of size even in the edge-case where validation
bytes trickle in over multiple buckets.
Modified:
httpd/httpd/trunk/modules/filters/mod_deflate.c
Modified: httpd/httpd/trunk/modules/filters/mod_deflate.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?view=diff&rev=476600&r1=476599&r2=476600
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Sat Nov 18 12:26:28 2006
@@ -1150,6 +1150,7 @@
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,