You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/10/24 23:25:23 UTC
svn commit: r588036 - /httpd/httpd/trunk/modules/echo/mod_echo.c
Author: wrowe
Date: Wed Oct 24 14:25:23 2007
New Revision: 588036
URL: http://svn.apache.org/viewvc?rev=588036&view=rev
Log:
Two sane reasons to wrap up, timeup, or eof. Quiet down both results
from the error log.
Modified:
httpd/httpd/trunk/modules/echo/mod_echo.c
Modified: httpd/httpd/trunk/modules/echo/mod_echo.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/echo/mod_echo.c?rev=588036&r1=588035&r2=588036&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/echo/mod_echo.c (original)
+++ httpd/httpd/trunk/modules/echo/mod_echo.c Wed Oct 24 14:25:23 2007
@@ -152,7 +152,7 @@
if (((rv = ap_get_brigade(c->input_filters, bb, AP_MODE_GETLINE,
APR_BLOCK_READ, 0)) != APR_SUCCESS)) {
apr_brigade_destroy(bb);
- if (!APR_STATUS_IS_EOF(rv))
+ if (!APR_STATUS_IS_EOF(rv) && ! APR_STATUS_IS_TIMEUP(rv))
ap_log_error(APLOG_MARK, APLOG_INFO, rv, c->base_server,
"ProtocolEcho: Failure reading from %s",
c->remote_ip);