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:
@@ -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;
|
||||
}
|
||||
/*
|
||||
|
Reference in New Issue
Block a user