mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
This same patch is needed in mod_asis and others, I'm testing the waters
for this solution. I'm easily convinced to choose AP_MAX_SENDFILE based on any reasonable argument, provided it's smaller than 2^30 :-) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89714 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -303,6 +303,14 @@ extern "C" {
|
||||
/* The size of the server's internal read-write buffers */
|
||||
#define AP_IOBUFSIZE 8192
|
||||
|
||||
/* APR_HAS_LARGE_FILES introduces the problem of spliting sendfile into
|
||||
* mutiple buckets, no greater than MAX(apr_size_t), and more granular
|
||||
* than that in case the brigade code/filters attempt to read it directly.
|
||||
* ### 4mb is an invention, no idea if it is reasonable.
|
||||
*/
|
||||
#define AP_MAX_SENDFILE 4194304
|
||||
|
||||
|
||||
/*
|
||||
* Special Apache error codes. These are basically used
|
||||
* in http_main.c so we can keep track of various errors.
|
||||
|
||||
Reference in New Issue
Block a user