zsync 0.6.1 now attempts to handle redirects intelligently, but at least
some of the time, it fails.  Similar failures are described in Debian bug
532818 and Ubuntu bug 661308.

I have isolated the root cause of these failures.  Full details and a patch
are available here:

http://launchpad.net/bugs/661308

and a copy of the patch (lightly tested) is attached.

-- 
 - mdz
Only in zsync-0.6.1+bug661308: .deps
Only in zsync-0.6.1+bug661308: Makefile
Only in zsync-0.6.1+bug661308: base64.o
Only in zsync-0.6.1+bug661308: build-stamp
Only in zsync-0.6.1+bug661308: client.o
Only in zsync-0.6.1+bug661308: config.h
Only in zsync-0.6.1+bug661308: config.log
Only in zsync-0.6.1+bug661308: config.status
Only in zsync-0.6.1+bug661308/doc: Makefile
diff -ru zsync-0.6.1/http.c zsync-0.6.1+bug661308/http.c
--- zsync-0.6.1/http.c	2010-10-17 11:37:07.000000000 +0100
+++ zsync-0.6.1+bug661308/http.c	2010-10-17 11:35:54.804452314 +0100
@@ -731,6 +731,7 @@
     rf->sd = connect_to(rf->chost, rf->cport);
     rf->server_close = 0;
     rf->rangessent = rf->rangesdone;
+    rf->buf_start = rf->buf_end = 0;
 }
 
 /* range_fetch_getmore
Only in zsync-0.6.1+bug661308: http.o
Only in zsync-0.6.1+bug661308/librcksum: .deps
Only in zsync-0.6.1+bug661308/librcksum: Makefile
Only in zsync-0.6.1+bug661308/librcksum: hash.o
Only in zsync-0.6.1+bug661308/librcksum: librcksum.a
Only in zsync-0.6.1+bug661308/librcksum: md4.o
Only in zsync-0.6.1+bug661308/librcksum: range.o
Only in zsync-0.6.1+bug661308/librcksum: rsum.o
Only in zsync-0.6.1+bug661308/librcksum: state.o
Only in zsync-0.6.1+bug661308/libzsync: .deps
Only in zsync-0.6.1+bug661308/libzsync: Makefile
Only in zsync-0.6.1+bug661308/libzsync: libzsync.a
Only in zsync-0.6.1+bug661308/libzsync: sha1.o
Only in zsync-0.6.1+bug661308/libzsync: sha1test
Only in zsync-0.6.1+bug661308/libzsync: sha1test.o
Only in zsync-0.6.1+bug661308/libzsync: zmap.o
Only in zsync-0.6.1+bug661308/libzsync: zsync.o
Only in zsync-0.6.1+bug661308: make.o
Only in zsync-0.6.1+bug661308: makegz.o
Only in zsync-0.6.1+bug661308: progress.o
Only in zsync-0.6.1+bug661308: stamp-h1
Only in zsync-0.6.1+bug661308: url.o
Only in zsync-0.6.1+bug661308/zlib: .deps
Only in zsync-0.6.1+bug661308/zlib: Makefile
Only in zsync-0.6.1+bug661308/zlib: adler32.o
Only in zsync-0.6.1+bug661308/zlib: compress.o
Only in zsync-0.6.1+bug661308/zlib: crc32.o
Only in zsync-0.6.1+bug661308/zlib: deflate.o
Only in zsync-0.6.1+bug661308/zlib: inflate.o
Only in zsync-0.6.1+bug661308/zlib: inftrees.o
Only in zsync-0.6.1+bug661308/zlib: libdeflate.a
Only in zsync-0.6.1+bug661308/zlib: libinflate.a
Only in zsync-0.6.1+bug661308/zlib: trees.o
Only in zsync-0.6.1+bug661308/zlib: zutil.o
Only in zsync-0.6.1+bug661308: zsync
Only in zsync-0.6.1+bug661308: zsyncmake

Attachment: signature.asc
Description: Digital signature

Reply via email to