summaryrefslogtreecommitdiff
path: root/main/streams/mmap.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-03-21 19:37:43 +0000
committerMarcus Boerger <helly@php.net>2008-03-21 19:37:43 +0000
commitf8f01a1fd1ef00c2797da5f2f8125a3b9d78f046 (patch)
treebb5345537ab46d99772a36d088f38fc9835fe989 /main/streams/mmap.c
parent07e359876205691808179639b20928d4d6156a64 (diff)
downloadphp-git-f8f01a1fd1ef00c2797da5f2f8125a3b9d78f046.tar.gz
- MFH Settle to 4 MB, see internals@ archives
Diffstat (limited to 'main/streams/mmap.c')
-rw-r--r--main/streams/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/mmap.c b/main/streams/mmap.c
index 633ab1b706..9749257f7a 100644
--- a/main/streams/mmap.c
+++ b/main/streams/mmap.c
@@ -33,7 +33,7 @@ PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t le
/* For now, we impose an arbitrary limit to avoid
* runaway swapping when large files are passed thru. */
- if (length > 8 * 1024 * 1024) {
+ if (length > 4 * 1024 * 1024) {
return NULL;
}