* 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:
rakshasa
2005-12-02 20:07:50 +00:00
parent 98a8fc8638
commit f9614c405d
4 changed files with 142 additions and 0 deletions
+4
View File
@@ -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.");
}
}
+4
View File
@@ -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;