Cyberduck Mountain Duck CLI

Changeset 43864


Ignore:
Timestamp:
Feb 7, 2018 7:14:07 AM (5 months ago)
Author:
dkocher
Message:

Allow to decrement transferred size on failure. Fix #9552.

Location:
shelves/06.02.2018
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shelves/06.02.2018

    • Property subgit:lock changed from commit:bccef5312f3c12621683b6852d320d5a188a9dd2 timestamp:2018-02-06T12:30:17.625 to commit:470c426cf62e99cbd06eae604e10b450596ac468 timestamp:2018-02-07T07:15:35.303
  • shelves/06.02.2018/core/src/main/java/ch/cyberduck/core/transfer/Transfer.java

    r43725 r43864  
    420420            transferred = new AtomicLong(0L);
    421421        }
    422         if(bytes > 0) {
    423             transferred.addAndGet(bytes);
    424         }
     422        // Allow decrement for failed segments
     423        transferred.addAndGet(bytes);
    425424        if(log.isTraceEnabled()) {
    426425            log.trace(String.format("Transferred set to %d bytes", transferred.get()));
Note: See TracChangeset for help on using the changeset viewer.
swiss made software