Re: 5.4 uploading large files
Re: 5.4 uploading large files
- Subject: Re: 5.4 uploading large files
- From: John Huss <email@hidden>
- Date: Sat, 03 Mar 2012 18:29:30 -0600
As Mike said above it is already fixed in Apple's version of WO. But you're never going to see that version. So if you want a fix you have to roll your own.
John
On Saturday, March 3, 2012, Helmut Tschemernjak <
email@hidden> wrote:
>
> we investigated in the past into the > 2.1GB form upload limitation. I reported this via the Apple Bug Reporter earlier this year. I feel it is not hard to fix, hopefully Apple spends a day or two to fix it. See my report below.
>
> Regards
>
> Helmut Tschemernjak
>
> -------
> Bug Reporter Problem ID: 10765546
> Subject: WebObjects 5.4.3 large request (> 2.1GB)
>
> Summary:
> Requests larger than 2.1GB (uploading large files) fail.
> The class com.webobjects.appserver._private.WOHttpIO tries to parse the content-length header with the method parseInt of the Integer class. This will fail for all files larger than 2.1GB. Further there are many instances in the code that make use of an integer for the content length of a request:
> WOInputStreamData: public WOInputStreamData(InputStream, int)
> WORequest: public int _contentLengthHeader()
> Also classes not directly involved in the request handling do show such a limitation (e.g. public NSRange(int, int)).
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (
email@hidden)
>
> This email sent to
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden