httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r475920 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Date Thu, 16 Nov 2006 20:41:07 GMT
Author: rpluem
Date: Thu Nov 16 12:41:06 2006
New Revision: 475920

URL: http://svn.apache.org/viewvc?view=rev&rev=475920
Log:
* Also log the presence of garbage data at the end of the stream if all
  validation data is available in the first round.

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=475920&r1=475919&r2=475920
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Thu Nov 16 12:41:06 2006
@@ -1196,6 +1196,10 @@
                                                      VALIDATION_SIZE);
                 if (ctx->stream.avail_in > VALIDATION_SIZE) {
                     ctx->validation_buffer_length = VALIDATION_SIZE;
+                    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
+                                  "Zlib: %d bytes of garbage at the end of "
+                                  "compressed stream.",
+                                  ctx->stream.avail_in - VALIDATION_SIZE);
                 } else if (ctx->stream.avail_in > 0) {
                            ctx->validation_buffer_length = ctx->stream.avail_in;
                 }



Mime
View raw message