When input file is complete, zsync should stop

Bug #605428 reported by Otus
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zsync (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: zsync

Even if an input file (or a combination) totally matches the requested file, zsync reads through any other input files and part files before deciding that there's nothing to do.

For instance, say file1.iso matches the requested file. The following will read through all the local files before completing:
$ zsync -i file1.iso -i file2.iso -i file3.iso http://example.com/file.iso.zsync

Otus (jan-varho)
description: updated
Revision history for this message
Otus (jan-varho) wrote :

The attached patch fixes this issue and also skips duplicate input files. I sent it to upstream by email, but haven't heard back.

tags: added: patch
Robert Sajdok (ris)
tags: added: patch-forwarded-upstream
Revision history for this message
Matt Zimmerman (mdz) wrote :

Robert, does the patch-forwarded-upstream tag here indicate that you forwarded the patch upstream? Can you confirm where you sent it, and whether you received any reply?

Changed in zsync (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Otus (jan-varho) wrote :

I sent it upstream. I recently got a reply that the issue was fixed in next release (0.6.2 I suppose), but Maverick still has 0.6.1.

Revision history for this message
Robert Sajdok (ris) wrote :

Matt, I added the tag after the first comment "I sent it to upstream by email"

tags: added: patch-accepted-upstream
removed: patch-forwarded-upstream
Revision history for this message
Otus (jan-varho) wrote :

Fixed in 13.04.

Changed in zsync (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.