httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r610451 - /httpd/httpd/trunk/modules/http/http_filters.c
Date Wed, 09 Jan 2008 16:52:10 GMT
Author: jim
Date: Wed Jan  9 08:51:49 2008
New Revision: 610451

URL: http://svn.apache.org/viewvc?rev=610451&view=rev
Log:
belt and suspenders

Modified:
    httpd/httpd/trunk/modules/http/http_filters.c

Modified: httpd/httpd/trunk/modules/http/http_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_filters.c?rev=610451&r1=610450&r2=610451&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_filters.c (original)
+++ httpd/httpd/trunk/modules/http/http_filters.c Wed Jan  9 08:51:49 2008
@@ -148,7 +148,7 @@
         /* If we got a zero-length data bucket, we try the next one */
     }
     /* We had no data in this brigade */
-    if (e == APR_BRIGADE_SENTINEL(b)) {
+    if (!len || e == APR_BRIGADE_SENTINEL(b)) {
         return APR_EAGAIN;
     }
     if (lineend[len - 1] != APR_ASCII_LF) {



Mime
View raw message