]> granicus.if.org Git - php/commit
Avoid bug where stream_copy_to_stream() call for precisely 2000000 bytes would
authorWez Furlong <wez@php.net>
Sun, 6 Feb 2005 23:17:09 +0000 (23:17 +0000)
committerWez Furlong <wez@php.net>
Sun, 6 Feb 2005 23:17:09 +0000 (23:17 +0000)
commit056907890104b24db46fda321ee9ae2f6a717f05
tree7a6d8f8b27761bbf59c259878e9a2468621cc80e
parent1069cefadae79167c893479de46024fc44f2baf0
Avoid bug where stream_copy_to_stream() call for precisely 2000000 bytes would
result in entire resource being copied.
The mmap brake is already present inside mmap_range() and is set to 1MB.
main/php_streams.h