[TIMOB-1382] Blackberry: Buffer Large XHR Downloads
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-06-17T13:19:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | BB Preview 2 |
Components | iOS |
Labels | blackberry, feature |
Reporter | Don Thorp |
Assignee | Marshall Culpepper |
Created | 2011-04-15T02:50:58.000+0000 |
Updated | 2011-06-17T13:19:17.000+0000 |
Description
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.
Closing because no longer applicable to current version of BlackBerry