cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-12154) file-transfer = -1 on iOS
Date Fri, 25 Nov 2016 14:38:59 GMT


ASF GitHub Bot commented on CB-12154:

GitHub user daserge opened a pull request:

    CB-12154 file-transfer = -1 on iOS

    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    ### Platforms affected
    ### What does this PR do?
    Reverts logic for not setting `Content-Length` for `chunkedMode=true`.
    This was causing progress events total to be -1 and progress to be not computable.
    So while this change technically violates the [specification](
it fixes the functionality.
    ### What testing has been done on this change?
    Manual and autotests.
    ### Checklist
    - [x] [Reported an issue]( in the JIRA
    - [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.
    - [ ] Added automated test coverage as appropriate for this change.

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

    $ git pull CB-12154

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

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

    This closes #170
commit c8b387ccab8b09027a6fc13888b73103054f4b25
Author: daserge <>
Date:   2016-11-23T15:57:11Z

    CB-12154 file-transfer = -1 on iOS
    Makes chunkedMode=true uploads to contain Content-Length to make progress computable


> file-transfer = -1 on iOS
> ---------------------------------------------
>                 Key: CB-12154
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>            Reporter: samed ceylan
>            Priority: Critical
>              Labels: ios, reproduced, triaged
> cordova-plugin-file-transfer bug = -1

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message