mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
* Added a workaround for the vfat truncate bug. This blocks for a
while, so either it needs some additional hack or make it a configure option. * Trigger a storage_error when files fail to resize. * Fixed a bug in the priority code that caused it to skip some ranges. * Added a check to make sure a CurlGet object is closed once it is finished. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@602 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -141,6 +141,10 @@ CurlGet::perform(CURLMsg* msg) {
|
||||
m_signalDone.emit();
|
||||
else
|
||||
m_signalFailed.emit(curl_easy_strerror(msg->data.result));
|
||||
|
||||
if (m_handle != NULL)
|
||||
throw std::logic_error("CurlGet::perform finished but the object wasn't closed.");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -46,6 +46,10 @@ namespace core {
|
||||
|
||||
class Download;
|
||||
|
||||
// Container for all downloads. Add slots to the slot maps to cause
|
||||
// some action to be taken when the torrent changes states. Don't
|
||||
// change the states from outside of core.
|
||||
|
||||
class DownloadList : private std::list<Download*> {
|
||||
public:
|
||||
typedef std::list<Download*> Base;
|
||||
|
||||
Reference in New Issue
Block a user