From 043396b7d0eed778e1976565e6acd8d7af3c9d4b Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 3 Apr 2001 19:32:19 +0000 Subject: [PATCH] This adds some simple error logging to send_the_file. There are a lot more cases that we should log :( git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88700 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/core.c b/server/core.c index 66462dde07..44a8550c0b 100644 --- a/server/core.c +++ b/server/core.c @@ -2659,6 +2659,9 @@ static apr_status_t send_the_file(conn_rec *c, apr_file_t *fd, o += bytes_sent; /* o is where we are in the buffer */ *nbytes += bytes_sent; togo -= bytes_sent; /* track how much of the file we've sent */ + } else { + ap_log_error(APLOG_MARK, APLOG_ERR, rv, NULL, + "Failed to send data in send_the_file"); } } } -- 2.40.0