httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yla...@apache.org
Subject svn commit: r1573224 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Date Sat, 01 Mar 2014 20:34:55 GMT
Author: ylavic
Date: Sat Mar  1 20:34:55 2014
New Revision: 1573224

URL: http://svn.apache.org/r1573224
Log:
mod_deflate: when consuming zlibs flags, APR_INCOMPLETE implies no more bytes available.

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=1573224&r1=1573223&r2=1573224&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Sat Mar  1 20:34:55 2014
@@ -1210,7 +1210,7 @@ static apr_status_t deflate_in_filter(ap
                 if (rv == APR_SUCCESS) {
                     ctx->zlib_flags = 0;
                 }
-                if (rv == APR_INCOMPLETE || !len) {
+                if (!len) {
                     continue;
                 }
             }
@@ -1614,7 +1614,7 @@ static apr_status_t inflate_out_filter(a
             if (rv == APR_SUCCESS) {
                 ctx->zlib_flags = 0;
             }
-            if (rv == APR_INCOMPLETE || !len) {
+            if (!len) {
                 apr_bucket_delete(e);
                 continue;
             }



Mime
View raw message