1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 00:32:23 +01:00
Files
archived-php-src/sapi
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
..
2013-01-01 16:37:09 +08:00
2013-08-04 16:05:36 -07:00
2013-01-01 16:37:09 +08:00
2013-08-06 22:49:56 +02:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00
2013-08-04 16:06:24 -07:00
2013-06-10 13:36:03 -07:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00
2013-06-10 14:30:59 -07:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00