mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- MFH Increase max mmap size to 8 MB
This commit is contained in:
parent
7f02e564f7
commit
9f001a01a1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue