]> granicus.if.org Git - apache/commitdiff
Two sane reasons to wrap up, timeup, or eof. Quiet down both results
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 24 Oct 2007 21:25:23 +0000 (21:25 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 24 Oct 2007 21:25:23 +0000 (21:25 +0000)
from the error log.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@588036 13f79535-47bb-0310-9956-ffa450edef68

modules/echo/mod_echo.c

index 4fb9e1dc69f32e2b34726550d3b197da46bee9e9..6c21ac6a081c1adc92482aaf3403abdcc0ecbb60 100644 (file)
@@ -152,7 +152,7 @@ static int process_echo_connection(conn_rec *c)
         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);