| Summary: | sftp progress meter updates too early | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Colin Watson <cjwatson> | ||||
| Component: | sftp | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | enhancement | CC: | dtucker | ||||
| Priority: | P5 | ||||||
| Version: | 6.2p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| URL: | http://bugs.debian.org/708372 | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2076 | ||||||
| Attachments: |
|
||||||
|
Description
Colin Watson
2013-05-25 08:03:03 AEST
Comment on attachment 2275 [details]
update sftp upload progress only when acks are received
looks reasonable to me. the packets are guaranteed to be processed in order for each file so it should even be accurate :-)
It doesn't even matter if they aren't processed in order, because all we're doing is adding the length from the ack to the progress counter, and that's commutative. Patch applied, thanks. Close all resolved bugs after 7.3p1 release |