1
0
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:
William A. Rowe Jr
2001-07-25 21:41:44 +00:00
parent 5b96031409
commit c9148bcd49
2 changed files with 25 additions and 7 deletions

View File

@@ -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.