Commit 009fa62b authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Because we can't get APR_EAGAIN from sendfile if we have a timeout, we

can simplify this test now.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87545 13f79535-47bb-0310-9956-ffa450edef68
parent ae764bbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2605,7 +2605,7 @@ static apr_status_t sendfile_it_all(conn_rec *c,
        rv = apr_sendfile(c->client_socket, fd, hdtr, &file_offset, &tmplen, 
                          flags);
        total_bytes_left -= tmplen;
        if (!total_bytes_left || (rv != APR_SUCCESS && !APR_STATUS_IS_EAGAIN(rv))) {
        if (!total_bytes_left || rv != APR_SUCCESS) {
            return rv;        /* normal case & error exit */ 
        }