Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1382] Blackberry: Buffer Large XHR Downloads

GitHub Issuen/a
TypeNew Feature
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2011-06-17T13:19:17.000+0000
Affected Version/sn/a
Fix Version/sBB Preview 2
ComponentsiOS
Labelsblackberry, feature
ReporterDon Thorp
AssigneeMarshall Culpepper
Created2011-04-15T02:50:58.000+0000
Updated2011-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.

Comments

  1. Jon Alter 2011-06-17

    Closing because no longer applicable to current version of BlackBerry

JSON Source