httpd-cvs mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=475922
Log:
* Fix some comments. No functional change.

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=475922&r1=475921&r2=475922
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Thu Nov 16 12:45:39 2006
@@ -919,8 +919,9 @@
             return ap_pass_brigade(f->next, bb);
         }
 
-        /* Let's see what our current Content-Encoding is.
-         * If gzip is present, don't gzip again.  (We could, but let's not.)
+        /*
+         * Let's see what our current Content-Encoding is.
+         * Only inflate if gzip is present.
          */
         encoding = apr_table_get(r->headers_out, "Content-Encoding");
         if (encoding) {
@@ -1007,7 +1008,8 @@
              * ourselves.
              */
             ap_remove_output_filter(f);
-            ctx->stream.avail_in = 0; /* should be zero already anyway */
+            /* should be zero already anyway */
+            ctx->stream.avail_in = 0;
             /*
              * Flush the remaining data from the zlib buffers. It is correct
              * to use Z_SYNC_FLUSH in this case and not Z_FINISH as in the



Mime
View raw message