Firefox can now upload files larger then 2GB!

Today I finished work from Makato Kato on patching Firefox (actually, the Gecko platform) to be able to upload files of an unlimited size.  The patch has today successfully landed on the mozilla-inbound integration branch.

This feature will be available in Firefox Nightly, which is in version 17 now, in one or two days, if, of course, nothing wrong happens.  Enjoy!

The patch was tested on a 64-bit Fedora Core 16 box running Apache x64 and PHP x64 with this 2GB limit patch applied.

Some technical notes, mainly for extension developers: the core change is in nsIInputStream and nsIScriptableInputStream.  In both result of the available() method has changed from long  to long long.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.