mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Properly detect the existance of send_file() on AIX
Submitted by: Victor Orlikowski Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2171,7 +2171,7 @@ static void check_first_conn_error(const request_rec *r, const char *operation,
|
||||
API_EXPORT(long) ap_send_fd(ap_file_t *fd, request_rec *r)
|
||||
{
|
||||
long len = r->finfo.size;
|
||||
#ifdef HAVE_SENDFILE
|
||||
#if APR_HAS_SENDFILE
|
||||
if (!r->chunked) {
|
||||
ap_status_t rv;
|
||||
ap_bsetopt(r->connection->client, BO_TIMEOUT,
|
||||
|
Reference in New Issue
Block a user