[ 
https://issues.apache.org/struts/browse/STR-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict resolved STR-2959.
--------------------------------

    Resolution: Fixed

Firefox has a 2GB - 1 limit like IE so this cannot be tested. However, the 
FormFile interface signature is now ready for this feature. Based on committer 
feedback, here's what has changed:

1) Binary compatibility has been preserved.
2) fileSize property methods have been deprecated but still function. If the 
actual file size is larger than an int, an IllegalStateException is thrown.
3) New fileLength property that return a long. 

The word "length" was chosen to fit into common nomenclature: File.length, 
ServletRequest.getContentLength, etc.


> File upload has 2GB limit
> -------------------------
>
>                 Key: STR-2959
>                 URL: https://issues.apache.org/struts/browse/STR-2959
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.7, 1.2.8, 1.2.9, 1.3.5
>         Environment: Websphere Application Server 6.0 
>            Reporter: Richard Harding
>            Assignee: Paul Benedict
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> Struts currently has a 2GB limit on file upload.  
> org.apache.struts.upload has an artificial limit of 2GB.
> org.apache.commons.fileupload does not have this limit since 'long' is used 
> in place of 'int'  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to