The attached patch seems to fix the problem. I've tested it lightly with a few different cases (with and without redirects) and didn't find any regressions.
The root cause seems to be that when reconnecting due to a redirect, zsync forgets to discard the data remaining in the buffer from the previous connection. ** Patch added: "zsync-bug661308.diff" https://bugs.edge.launchpad.net/ubuntu/+source/zsync/+bug/661308/+attachment/1697781/+files/zsync-bug661308.diff ** Bug watch added: Debian Bug tracker #532818 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532818 ** Also affects: zsync (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532818 Importance: Unknown Status: Unknown ** Summary changed: - zsync fails to download Maverick netbook image + zsync fails when target file is redirected ** Summary changed: - zsync fails when target file is redirected + zsync fails with "aborted" when target file is redirected -- zsync fails with "aborted" when target file is redirected https://bugs.launchpad.net/bugs/661308 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs