php-src/main
Ralf Lang 84f9213e00 Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files
above 2G.

This is essentially the same as the patch
"uploads_larger_than_2g_HEAD_v2 (last revision 2012-03-26 03:59 UTC) by
jason at infininull dot com)" but using off_t instead of signed long
(originally: uint)

I tested this on 64bit linux and succeeded uploading a file of 4.8 G.
The File did not get corrupted or truncated in any way.

I did not yet test this under windows or 32 bit linux

Note that there are still limitations:

* Did not test for files > 8 G
* php does not yet reject absurdly high values
* Still limited by underlying file system specific limits and free space
* in upload
* tmp dir and destination dir
2013-08-06 22:51:57 +02:00
..
streams Constify streams API and a few other calls down the rabbit hole. 2013-07-30 12:49:36 +02:00
alloca.c - Fix outside-source-tree builds. Always include generated header files 2005-01-09 21:05:06 +00:00
build-defs.h.in Expose PHP_MANDIR 2011-04-18 09:50:32 +00:00
fopen_wrappers.c Constify streams API and a few other calls down the rabbit hole. 2013-07-30 12:49:36 +02:00
fopen_wrappers.h Happy New Year 2013-01-01 16:37:09 +08:00
getopt.c Happy New Year 2013-01-01 16:37:09 +08:00
internal_functions_nw.c Happy New Year 2013-01-01 16:37:09 +08:00
internal_functions_win32.c Happy New Year 2013-01-01 16:37:09 +08:00
internal_functions.c.in - MFH Cleanup exports and allow to overwrite ext registration 2008-08-22 12:59:46 +00:00
main.c Merge branch 'PHP-5.5' 2013-06-25 16:26:48 -03:00
mergesort.c - MFH Cleanup exports and allow to overwrite ext registration 2008-08-22 12:59:46 +00:00
network.c Typo fix: recieved to received 2013-03-07 23:05:05 +01:00
output.c Happy New Year 2013-01-01 16:37:09 +08:00
php_compat.h Happy New Year 2013-01-01 16:37:09 +08:00
php_content_types.c Happy New Year 2013-01-01 16:37:09 +08:00
php_content_types.h Happy New Year 2013-01-01 16:37:09 +08:00
php_getopt.h Happy New Year 2013-01-01 16:37:09 +08:00
php_globals.h Implemented Feature #60524 (sys_temp_dir) 2013-01-28 22:37:43 -08:00
php_ini.c Merge branch 'PHP-5.4' into PHP-5.5 2013-07-15 17:35:29 +02:00
php_ini.h Happy New Year 2013-01-01 16:37:09 +08:00
php_main.h Happy New Year 2013-01-01 16:37:09 +08:00
php_memory_streams.h Happy New Year 2013-01-01 16:37:09 +08:00
php_network.h Fix non-Windows build 2013-02-02 16:38:09 +01:00
php_open_temporary_file.c - Fixed ZTS build 2013-01-29 09:26:54 -02:00
php_open_temporary_file.h complete zts fix 2013-01-29 12:12:34 -08:00
php_output.h Happy New Year 2013-01-01 16:37:09 +08:00
php_reentrancy.h Happy New Year 2013-01-01 16:37:09 +08:00
php_scandir.c Happy New Year 2013-01-01 16:37:09 +08:00
php_scandir.h Happy New Year 2013-01-01 16:37:09 +08:00
php_sprintf.c Happy New Year 2013-01-01 16:37:09 +08:00
php_stdint.h unify stdint type usage 2013-08-06 22:49:56 +02:00
php_streams.h Constify streams API and a few other calls down the rabbit hole. 2013-07-30 12:49:36 +02:00
php_syslog.h Happy New Year 2013-01-01 16:37:09 +08:00
php_ticks.c Happy New Year 2013-01-01 16:37:09 +08:00
php_ticks.h Happy New Year 2013-01-01 16:37:09 +08:00
php_variables.c Happy New Year 2013-01-01 16:37:09 +08:00
php_variables.h Happy New Year 2013-01-01 16:37:09 +08:00
php_version.h 5.4.19 is next 2013-07-17 13:51:15 -07:00
php.h unify stdint type usage 2013-08-06 22:49:56 +02:00
reentrancy.c Happy New Year 2013-01-01 16:37:09 +08:00
rfc1867.c Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files 2013-08-06 22:51:57 +02:00
rfc1867.h Happy New Year 2013-01-01 16:37:09 +08:00
SAPI.c Happy New Year 2013-01-01 16:37:09 +08:00
SAPI.h Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files 2013-08-06 22:51:57 +02:00
snprintf.c Happy New Year 2013-01-01 16:37:09 +08:00
snprintf.h typo fixes 2013-07-15 00:23:03 -07:00
spprintf.c fixed alternate form for 'x' and 'X' formats 2013-01-13 15:45:15 +01:00
spprintf.h typo fixes 2013-07-15 00:23:03 -07:00
strlcat.c Happy New Year 2013-01-01 16:37:09 +08:00
strlcpy.c Happy New Year 2013-01-01 16:37:09 +08:00
win32_internal_function_disabled.h versions no longer supported, no need to check 2013-03-27 07:15:23 +01:00
win95nt.h Happy New Year 2013-01-01 16:37:09 +08:00