Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16818] Android: Calling abort on httpclient does not fire per instance and all running downloads abort

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2020-01-09T22:18:56.000+0000
Affected Version/sRelease 3.2.2
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, api, asynchronous, httpclient, httpclient.abort, parallel
ReporterZiad Fouwal
AssigneeUnknown
Created2014-03-29T12:50:18.000+0000
Updated2020-01-09T22:18:56.000+0000

Description

While using multiple httpclients to download some files in parallel, calling abort on one download will cause all other running downloads to abort. attached is a project that demonstrate this behavior. Note that after first abort is fired, the next abort will work fine, calling abort on one httpclient will not stop other httpclients activities.

Attachments

FileDateSize
test_parallel_download.zip2014-03-29T12:50:18.000+00005918934

Comments

  1. Ritu Agrawal 2014-04-06

    Moving this ticket to engineering as I can reproduce this issue with the provided test case. Same test case works fine on iOS platform.
  2. Dan Tamas 2014-08-05

    I tested the provided app on a HTC One V with Android 4.0.3: 3.2.3.GA - the bug it's still present 3.3.0.GA - it seems to be fixed, cannot reproduce the issue anymore.

JSON Source