helly Fri Mar 21 19:37:32 2008 UTC
Modified files:
/php-src/main/streams mmap.c
Log:
- Settle to 4 MB, see internals@ archives
http://cvs.php.net/viewvc.cgi/php-src/main/streams/mmap.c?r1=1.13&r2=1.14&diff_format=u
Index: php-src/main/streams/mmap.c
diff -u php-src/main/streams/mmap.c:1.13 php-src/main/streams/mmap.c:1.14
--- php-src/main/streams/mmap.c:1.13 Fri Mar 21 18:20:51 2008
+++ php-src/main/streams/mmap.c Fri Mar 21 19:37:32 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mmap.c,v 1.13 2008/03/21 18:20:51 helly Exp $ */
+/* $Id: mmap.c,v 1.14 2008/03/21 19:37:32 helly Exp $ */
/* Memory Mapping interface for streams */
#include "php.h"
@@ -33,7 +33,7 @@
/* 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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php