httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject svn commit: r554011 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Date Fri, 06 Jul 2007 19:36:31 GMT
Author: gregames
Date: Fri Jul  6 12:36:30 2007
New Revision: 554011

URL: http://svn.apache.org/viewvc?view=rev&rev=554011
Log:
with LimitRequestBody xxx and the deflate output filter configured, mod_deflate
eats the 413 error bucket, a 500 error is logged, and a blank screen appears
at the browser.

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=554011&r1=554010&r2=554011
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Fri Jul  6 12:36:30 2007
@@ -44,6 +44,7 @@
 #include "http_request.h"
 #define APR_WANT_STRFUNC
 #include "apr_want.h"
+#include "http_protocol.h"
 
 #include "zlib.h"
 
@@ -576,6 +577,11 @@
                 return rv;
             }
             continue;
+        }
+
+        if (AP_BUCKET_IS_ERROR(e)) {
+            ap_remove_output_filter(f);
+            return ap_pass_brigade(f->next, bb);
         }
 
         /* read */



Mime
View raw message