]> granicus.if.org Git - apache/commitdiff
* Only log a 408 if it is no keepalive timeout.
authorRuediger Pluem <rpluem@apache.org>
Fri, 5 Mar 2010 07:37:15 +0000 (07:37 +0000)
committerRuediger Pluem <rpluem@apache.org>
Fri, 5 Mar 2010 07:37:15 +0000 (07:37 +0000)
PR: 39785
Submitted by: Mark Montague <markmont umich.edu>, rpluem
Reviewed by: rpluem

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

CHANGES
server/protocol.c

diff --git a/CHANGES b/CHANGES
index f3e69f7091da48c5f9536ab82cd9c2647e654670..341e6afd88c6829a8e69bbca06b6d0db421c1ab1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,6 +7,9 @@ Changes with Apache 2.3.7
      processing is completed, avoiding orphaned callback pointers.
      [Brett Gervasoni <brettg senseofsecurity.com>, Jeff Trawick]
 
+  *) core: Only log a 408 if it is no keepalive timeout. PR 39785
+     [Ruediger Pluem,  Mark Montague <markmont umich.edu>]
+
   *) support/rotatelogs: Add -L option to create a link to the current
      log file.  PR 48761 [<lyndon orthanc.ca>, Dan Poirier]
 
index 494913b83665041de65a1048b23f8718e5eb6c3b..ef4c4b7659599d966d8759a4e030cab2432b098f 100644 (file)
@@ -923,7 +923,9 @@ request_rec *ap_read_request(conn_rec *conn)
         }
         else if (r->status == HTTP_REQUEST_TIME_OUT) {
             ap_update_child_status(conn->sbh, SERVER_BUSY_LOG, r);
-            ap_run_log_transaction(r);
+            if (!r->connection->keepalives) {
+                ap_run_log_transaction(r);
+            }
             apr_brigade_destroy(tmp_bb);
             goto traceout;
         }