httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject [PATCH] zap an uninteresting debug message
Date Thu, 14 Feb 2002 01:30:35 GMT
any complaints?

we even get that message for APR_EOF when we terminate...

(and most importantly, there was a tab character in there somewhere)

Index: server/protocol.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
retrieving revision 1.83
diff -u -r1.83 protocol.c
--- server/protocol.c	8 Feb 2002 14:47:10 -0000	1.83
+++ server/protocol.c	14 Feb 2002 01:30:18 -0000
@@ -601,8 +601,10 @@
                          &len, r, 0);
 
         if (rv != APR_SUCCESS) {
-            ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r, "read_request_line() failed");
-	        r->request_time = apr_time_now();
+            if (!APR_STATUS_IS_EOF(rv)) {
+                ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r, "read_request_line() failed");
+            }
+            r->request_time = apr_time_now();
             return 0;
         }
     } while (len <= 0);

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message