Noam Gal created CB-10998:
-----------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to