httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r476600 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Date Sat, 18 Nov 2006 20:26:29 GMT
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,



Mime
View raw message