Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-19 Thread Philippe Rabier
Hi Hugi Would you consider using Apache FTP library in a WO app? I'm asking because we have also to deal with big files and preferred to use FTPS (FTP over SSL). The slides are on slideshare (look up WOCommunity). Bests, Philippe Rabier - http://twitter.com/prabier Sent

Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-19 Thread Markus Stoll
Hi, if however your request would generate a fine response from WO with a content-length > INT_MAX, the WOAdaptor would parse this into an "unsigned" using atoi(). Actually the content read counter is 32 bit, too. Due to the limitations of WO I never thought of changing this. Maybe its time to

Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-19 Thread Hugi Thordarson
Hi Aaron. Are you sure? WO is returning a fine response with a correct content-length header — it’s the Apache adaptor that modifies the header. Cheers, - hugi On 10.5.2014, at 02:15, Aaron Rosenzweig wrote: > Hi Hugi, > > Yes, this is a known problem with the WO api. You cannot patch it… l

Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-09 Thread Aaron Rosenzweig
Hi Hugi, Yes, this is a known problem with the WO api. You cannot patch it… like we have done with NSArray in the past to get generics support. “Patching” means making another .java class with the same package name and loading it before Apple’s… In this case, patching won’t cure it because we

Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-08 Thread Hugi Thordarson
Thanks, but it’s not that. Apache handles large files just fine, so the problem seems to be with the WO adaptor. Cheers, - hugi On 8.5.2014, at 09:09, Þór Sigurðsson wrote: > Rebuild Apache with: > -DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64 > > And you'll be rollin' > > Með kveðju, > Þór Sig

Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE

2014-05-08 Thread Þór Sigurðsson
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 [cid:F3B03A2A-046A-487C-B38A-7F4862B5EBE8] Samgöngustofa - www.samgongustofa.is Umferðarstofa, Borgartúni 30,