set all piece priorities to 0 when a write fails

This commit is contained in:
Arvid Norberg
2009-06-10 09:20:55 +00:00
parent 6b908e5f3f
commit 5e87420b6f
6 changed files with 185 additions and 6 deletions

View File

@@ -1,3 +1,6 @@
* by default, all piece priorities are set to 0 when a write fails.
this lets libtorrent keep uploading the parts it has when it
encounters a disk-full error for instance
* improved disk error handling and expanded use of error_code in
error reporting. added a bandwidth state, bw_disk, when waiting
for the disk io thread to catch up writing buffers