From 987a58318ffc1a0797fb8c76a79e48c03de255af Mon Sep 17 00:00:00 2001 From: Atsushi Konno Date: Thu, 10 Mar 2011 19:04:41 +0900 Subject: [PATCH] * Delete APR_FOPEN_SENDFILE_ENABLE flag. --- src/chxj_img_conv_format.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chxj_img_conv_format.c b/src/chxj_img_conv_format.c index 63bd9e51..2d69b61a 100644 --- a/src/chxj_img_conv_format.c +++ b/src/chxj_img_conv_format.c @@ -545,7 +545,7 @@ s_create_cache_file(request_rec *r, /*------------------------------------------------------------------------*/ rv = apr_file_open(&fin, r->filename, - APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, + APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK, APR_OS_DEFAULT, r->pool); if (rv != APR_SUCCESS) { @@ -1715,7 +1715,7 @@ s_send_cache_file( } } rv = apr_file_open(&fout, tmpfile, - APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, + APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK, APR_OS_DEFAULT, r->pool); if (rv != APR_SUCCESS) { DBG(r,"REQ[%X] cache file open failed[%s]", TO_ADDR(r),tmpfile); @@ -1772,7 +1772,7 @@ s_send_cache_file( DBG(r,"REQ[%X] Content-Length:[%d]", TO_ADDR(r),(int)st.size); rv = apr_file_open(&fout, tmpfile, - APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, + APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK, APR_OS_DEFAULT, r->pool); if (rv != APR_SUCCESS) { @@ -1812,7 +1812,7 @@ s_send_original_file(request_rec *r, const char *originalfile) } rv = apr_file_open(&fout, originalfile, - APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK | APR_FOPEN_SENDFILE_ENABLED, + APR_FOPEN_READ | APR_FOPEN_BINARY | APR_FOPEN_BUFFERED | APR_FOPEN_SHARELOCK, APR_OS_DEFAULT, r->pool); if (rv != APR_SUCCESS) { DBG(r,"REQ[%X] originalfile open failed[%s]", TO_ADDR(r),originalfile); -- 2.11.0