]> granicus.if.org Git - apache/commitdiff
Revert r1826543, was meant for trunk...
authorYann Ylavic <ylavic@apache.org>
Mon, 12 Mar 2018 15:19:07 +0000 (15:19 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 12 Mar 2018 15:19:07 +0000 (15:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1826555 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_request.c

index 8d1607cfc23ca070bdc40d44d904390e580fbf29..bc7ae22dc4750a4b7f89391d5f4866ee53f1b6a4 100644 (file)
@@ -480,9 +480,13 @@ AP_DECLARE(void) ap_process_request(request_rec *r)
              * Notice a timeout as an error message. This might be
              * valuable for detecting clients with broken network
              * connections or possible DoS attacks.
+             *
+             * It is still safe to use r / r->pool here as the eor bucket
+             * could not have been destroyed in the event of a timeout.
              */
-            ap_log_cerror(APLOG_MARK, APLOG_INFO, rv, c, APLOGNO(01581)
-                          "flushing data to the client");
+            ap_log_rerror(APLOG_MARK, APLOG_INFO, rv, r, APLOGNO(01581)
+                          "Timeout while writing data for URI %s to the"
+                          " client", r->unparsed_uri);
         }
     }
     if (ap_extended_status) {