summaryrefslogtreecommitdiff
path: root/main/streams/mmap.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-03-21 17:13:08 +0000
committerMarcus Boerger <helly@php.net>2008-03-21 17:13:08 +0000
commit9f001a01a14c54771998c95bde4df98a03044f2f (patch)
treed112ae924485620d7381a433d72ed5507cd7ca82 /main/streams/mmap.c
parent7f02e564f76dee7ae4a4360a854eeb5150da30d7 (diff)
downloadphp-git-9f001a01a14c54771998c95bde4df98a03044f2f.tar.gz
- MFH Increase max mmap size to 8 MB
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 2dae36f977..6619fdc039 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 2MB limit to avoid
* runaway swapping when large files are passed thru. */
- if (length > 2 * 1024 * 1024) {
+ if (length > 8 * 1024 * 1024) {
return NULL;
}