]> git.rkrishnan.org Git - functorrent.git/commit
Resume download from where it was left off last time
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 15 Sep 2015 16:11:36 +0000 (21:41 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 15 Sep 2015 16:25:15 +0000 (21:55 +0530)
commitdfffc353671f9cb53f4c95fcd81cac807a07201e
tree294d5a896cefaf9a36842aa025c39984425bcb10
parent6b81eef44adef685430b0d3ad58062e05171e54d
Resume download from where it was left off last time

This commit looks at the downloaded file, verifies the hashes of
the downloaded pieces, marks them as "have" pieces and proceeds
to download those that are not in its posession.
src/FuncTorrent/Fileops.hs
src/FuncTorrent/Peer.hs
src/main/Main.hs