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

Paul Benedict commented on STR-2959:
------------------------------------

After some more discussion with Niall, this approach was amicable to the both 
of us:

1) Deprecate the first method
2) Add second method that returns a long
3) Delegate the first to the second
4) Throw IllegalStateException if first method finds a file bigger than 2GB

> 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