Commit 966d4497 authored by David Reid's avatar David Reid
Browse files

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
parent 3ccd7bff
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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");
            }
        }
    }