Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE
Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE
- Subject: Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE
- From: Hugi Thordarson <email@hidden>
- Date: Thu, 08 May 2014 09:15:26 +0000
Thanks, but it’s not that. Apache handles large files just fine, so the problem seems to be with the WO adaptor.
Cheers, - hugi
Rebuild Apache with:
-DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64
And you'll be rollin'
Með kveðju,
Þór Sigurðsson
Tölvunarfræðingur - Forritari
Sími: 480-6000
<image001.png>
Samgöngustofa - www.samgongustofa.is
Umferðarstofa, Borgartúni 30, 105 Reykjavík
On 8.5.2014, at 08:49, Hugi Thordarson < email@hidden> wrote:
Hi all
I’m attempting to stream a ~3GB file from a WO app. When I DirectConnect to the app, the content-length header is correctly set to “3371573248”, but if the response goes through the Apache adaptor (CentOS 5.5/Apache 2.2), the content-length header is changed
to “2147483647” (Integer.MAX_VALUE), resulting in a truncated file for most clients.
I just attempted to install the most recent compiled Wonder adaptor from wocommunity org, but it doesn’t solve the problem.
Anyone familiar with this?
Cheers,
- hugi
_______________________________________________
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
Fyrirvari á tölvupósti / e-mail disclaimer
http://samgongustofa.is/fyrirvari/
|
_______________________________________________
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