about summary refs log tree commit diff
path: root/cli
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-01-24 22:42:56 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-01-24 22:42:56 +0000
commite99facbeec3b088f31ec3fba6f802e4a059674ac (patch)
treeeef6340b47804a358764ac0515628cf31d2463d8 /cli
parent7068f34a51847c08567dee3861205a0363c81243 (diff)
downloadbtpd-e99facbeec3b088f31ec3fba6f802e4a059674ac.tar.gz
btpd-e99facbeec3b088f31ec3fba6f802e4a059674ac.zip
Don't clear the bitfield for blocks it's possible we have, even though
the resume file and content aren't synchronized. Save the resumefile
every 15 seconds for torrents we're downloading. This way we don't have
to redownload much content because of crash or whatnot. Not that btpd would
crash :)
Also, as there were probably no point in fsync'ing the content when we closed
the write stream, that is not done anymore.

Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions