httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r984985 - /httpd/httpd/trunk/modules/filters/mod_reqtimeout.c
Date Thu, 12 Aug 2010 21:28:33 GMT
Author: sf
Date: Thu Aug 12 21:28:32 2010
New Revision: 984985

URL: http://svn.apache.org/viewvc?rev=984985&view=rev
Log:
Revert part of r983116: Don't break the loop if rv is EAGAIN

Modified:
    httpd/httpd/trunk/modules/filters/mod_reqtimeout.c

Modified: httpd/httpd/trunk/modules/filters/mod_reqtimeout.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_reqtimeout.c?rev=984985&r1=984984&r2=984985&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_reqtimeout.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_reqtimeout.c Thu Aug 12 21:28:32 2010
@@ -190,7 +190,7 @@ static apr_status_t reqtimeout_filter(ap
 #endif
 
             rv = ap_get_brigade(f->next, bb, AP_MODE_GETLINE, APR_NONBLOCK_READ, remaining);
-            if (rv != APR_SUCCESS) {
+            if (rv != APR_SUCCESS && !APR_STATUS_IS_EAGAIN(rv)) {
                 break;
             }
 



Mime
View raw message