added a setting for max outstanding requests, and a limit for BitComet since it's known to have a very low limit, also added an extension header to specify it. Fixed another unnecessary delay spotted by Tianhao Qiu. Cleaned up the logging class a bit. Fixed a bug that would cause an assert when removing a torrent queued for checking.

This commit is contained in:
Arvid Norberg
2006-05-14 22:30:05 +00:00
parent 73b1c5c9b8
commit 0b529e8f96
18 changed files with 318 additions and 124 deletions

View File

@@ -247,6 +247,7 @@ namespace libtorrent
{
throw_exception("file::seek");
}
return offs.QuadPart;
}
size_type tell()
@@ -264,8 +265,8 @@ namespace libtorrent
throw_exception("file::tell");
}
size_type pos=offs.QuadPart;
assert(pos>=0);
size_type pos = offs.QuadPart;
assert(pos >= 0);
return pos;
}
/*