Req #44522 [Com]: http upload max_limits and file above 2GB

From: Date: Thu, 24 Oct 2013 12:08:04 +0000
Subject: Req #44522 [Com]: http upload max_limits and file above 2GB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182450@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44522&edit=1

 ID:                 44522
 Comment by:         cweiske@php.net
 Reported by:        mail2lv at yahoo dot com
 Summary:            http upload max_limits and file above 2GB
 Status:             Closed
 Type:               Feature/Change Request
 Package:            *Web Server problem
 Operating System:   All
 PHP Version:        5.2.5
 Assigned To:        mike
 Block user comment: N
 Private report:     N

 New Comment:

The patch only supports files up to 4GiB. I failed to upload larger files and only got the following
message on all browsers:

> PHP Notice:  Missing mime boundary at the end of the data for file 51.dat in Unknown on line 0,


Previous Comments:
------------------------------------------------------------------------
[2013-09-13 11:39:39] mike@php.net

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Fixed in master on x86_64

------------------------------------------------------------------------
[2013-07-01 10:32:22] lang at b1-systems dot de

Newest Mailing List feedback applied.
Pull Request attached.
Please pull or comment in github or here.

------------------------------------------------------------------------
[2013-04-19 20:21:34] azet at azet dot org

Could you please add this patch? It MIGHT make seem PHP less an embarrassing 
language than it is already.

Sincerely,
The Internet

------------------------------------------------------------------------
[2013-04-19 09:37:22] scroogie at scroogie dot de

In my opinion this is quite an issue. We faced it at an intranet side yesterday.
Due to the cast to int at https://github.com/php/php-src/blob/master/main/rfc1867.c#L901
it also has weird side effects, like setting 4G will equal 0 and disable the size check (see https://github.com/php/php-src/blob/master/main/rfc1867.c#L1031),
5G equal 1G etc.

------------------------------------------------------------------------
[2012-03-26 04:02:16] jason at infininull dot com

I have re-rolled the patch against HEAD (b4d078f18c950a4bf7e136443586e348bd54f40c) 
and attached it to this request.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=44522


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=44522&edit=1


Thread (15 messages)

« previous php.bugs (#182450) next »