[Bug 2137] progress meter shows wrong speed during resume

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Sep 14 05:04:16 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2137

Iain Morgan <imorgan at nas.nasa.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |imorgan at nas.nasa.gov

--- Comment #1 from Iain Morgan <imorgan at nas.nasa.gov> ---
Created attachment 2333
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2333&action=edit
Don't assume that the starting poistion is zero

This looks like it fixes the issue. Save the initial offset when
starting the progress meter and use it when cur_pos is zero. Also, use
it when reporting the statistics for the completed transfer. This also
fixes the negative speed issue when the transfer is interrupted by a
signal.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list