[TIMOB-1382] Blackberry: Buffer Large XHR Downloads
|Fix Version/s||BB Preview 2|
It's currently not possible to download a file larger than an application's remaining memory. Add a tiapp.xml configurable property to set the size in bytes when incoming data should be moved to a file vs stored in memory.
<property name="ti.blackberry.httpclient.buffer.to.file.threshold" type="int">1000000</property>
This property should be namespaced by platform to allow for different limits on different platforms.
When this limit is reached open a temporary file and flush the existing data and append any additional data to the file instead of in memory.
- Jon Alter 2011-06-17 Closing because no longer applicable to current version of BlackBerry