You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/09/16 18:40:52 UTC

svn commit: r1171655 - /httpd/httpd/trunk/modules/filters/mod_deflate.c

Author: sf
Date: Fri Sep 16 16:40:52 2011
New Revision: 1171655

URL: http://svn.apache.org/viewvc?rev=1171655&view=rev
Log:
Add comment that the check for empty brigade at the start of the function is
essential.

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?rev=1171655&r1=1171654&r2=1171655&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Fri Sep 16 16:40:52 2011
@@ -448,6 +448,7 @@ static apr_status_t deflate_out_filter(a
         char *token;
         const char *encoding;
 
+        /* We have checked above that bb is not empty */
         e = APR_BRIGADE_LAST(bb);
         if (APR_BUCKET_IS_EOS(e)) {
             /*