]> granicus.if.org Git - apache/commitdiff
Turn on buffered I/O in mod_include for reading the input file.
authorBrian Havard <bjh@apache.org>
Tue, 23 May 2000 03:04:30 +0000 (03:04 +0000)
committerBrian Havard <bjh@apache.org>
Tue, 23 May 2000 03:04:30 +0000 (03:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85274 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c

index 2c9d67d5a5ceedca527902df562838b7c0da9a8e..b70c21fde98e5a31f859e21acde76e9141aca1a9 100644 (file)
@@ -2390,7 +2390,7 @@ static int send_parsed_file(request_rec *r)
         return HTTP_NOT_FOUND;
     }
 
-    errstatus = ap_open(&f, r->filename, APR_READ, 0, r->pool);
+    errstatus = ap_open(&f, r->filename, APR_READ|APR_BUFFERED, 0, r->pool);
 
     if (errstatus != APR_SUCCESS) {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, errstatus, r,