cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9027) FileTransfer#download fails with FileTransferError.CONNECTION_ERR after 60 sec. on iOS
Date Tue, 30 Aug 2016 01:23:21 GMT

    [ https://issues.apache.org/jira/browse/CB-9027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15447641#comment-15447641
] 

ASF GitHub Bot commented on CB-9027:
------------------------------------

GitHub user ryanwilliams83 opened a pull request:

    https://github.com/apache/cordova-plugin-file-transfer/pull/155

    CB-9027 (android, ios): Expose HTTP client read timeout as option

    ### Platforms affected
    Android
    iOS
    
    ### What does this PR do?
    Expose HTTP Client Read Timeout as option
    
    ### What testing has been done on this change?
    Android undefined / 60 / 180
    iOS undefined / 60 / 180
    
    ### Checklist
    - [X] [ICLA](http://www.apache.org/licenses/icla.txt) has been signed and submitted to
secretary@apache.org.
    - [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA
database
    - [X] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [X] Added automated test coverage as appropriate for this change.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/buzzcard/cordova-plugin-file-transfer CB-9027

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-file-transfer/pull/155.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #155
    
----
commit 34f16f0c9f2879006b05e875dc36ee4f303cd241
Author: Ryan Williams <rwilliams@busivid.com>
Date:   2016-08-30T00:36:37Z

    CB-9027 (android, ios): Expose HTTP client read timeout as an option

----


> FileTransfer#download fails with FileTransferError.CONNECTION_ERR after 60 sec. on iOS
> --------------------------------------------------------------------------------------
>
>                 Key: CB-9027
>                 URL: https://issues.apache.org/jira/browse/CB-9027
>             Project: Apache Cordova
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Plugin File Transfer
>    Affects Versions: 3.4.0
>         Environment: iPhone 4s, iOS 8.3
> iPhone 5s, iOS 8.3
> Cordova 3.4.1
> FileTransfer 0.4.2
>            Reporter: Alexander Kilinskiy
>
> (x) when I try to download large file on iOS I receive FileTransferError.CONNECTION_ERR
in 60 seconds (file generation tooks ~ 70-90 sec).
> Standard code used:
> {code:javascript}var fileTransfer = new window.FileTransfer(),
>   fileUrl = "", // some valid url (big file ~ 100Mb)
>   filePath = ""; // some valid location
> fileTransfer.download(fileUrl, 
>                       filePath, 
>                       function(entry) {
>                         // process file
>                       }, 
>                       function(error) {
>                         // process error
>                       });{code}
> Could i set custom timeout instead of 60 sec? 
> P.S. android devices wait till file is generated (70-90 sec)
> Thanks in advance.



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


Mime
View raw message