mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
- Settle to 4 MB, see internals@ archives
This commit is contained in:
parent
3fcc6565b7
commit
384d50b37b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user