You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/08/19 14:12:20 UTC

[jira] [Updated] (CB-10998) File-Transfer doesn't start after ~5-10 cancelled downloads

     [ https://issues.apache.org/jira/browse/CB-10998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov updated CB-10998:
----------------------------------
    Labels: cannot-reproduce triaged wfc  (was: triaged)

> File-Transfer doesn't start after ~5-10 cancelled downloads
> -----------------------------------------------------------
>
>                 Key: CB-10998
>                 URL: https://issues.apache.org/jira/browse/CB-10998
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 1.5.0
>         Environment: iOS 9
>            Reporter: Noam Gal
>              Labels: cannot-reproduce, triaged, wfc
>
> I created a sample project, minimally modifying the HelloCordova project with a Download file button.
> The File Transfer plugin is trying to download a single file through https (from my public dropbox folder. Any other file will do, as long as it is behind https).
> I added NSLog calls in the didReceiveResponse and in the willSendRequestForAuthenticationChallange callbacks.
> If I cancel the download after the didReceiveResponse starts (but before it is finished), and then try to download again and again, at ~ the 10th attempt the download just never starts (I used fiddler, and at that stage no request is coming out).
> When I tried it in a different host, it was consistently after the 6th download attempt/cancel.
> My sample project is located at https://github.com/ATGardner/cordova-FileTransfer-test
> just run "cordova prepare" (and maybe add the NSLog calls in the CDVFileTransfer.m file)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org