mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 13:12:32 +00:00
* Cleanup of the API, got rid of "get_" prefix for alot of the calls.
* Tweaked the http get timeout, now it has a 60 second connect timeout and a 360 second download timeout. * Moved libtorrent/src/parse/download_constructor to src/download. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@595 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+2
-2
@@ -117,7 +117,7 @@ Root::receive_down_throttle(int t) {
|
||||
if (m_windowStatusbar != NULL)
|
||||
m_windowStatusbar->mark_dirty();
|
||||
|
||||
torrent::set_down_throttle(std::max<int>(torrent::get_down_throttle() + t * 1024, 0));
|
||||
torrent::set_down_throttle(std::max<int>(torrent::down_throttle() + t * 1024, 0));
|
||||
}
|
||||
|
||||
void
|
||||
@@ -125,7 +125,7 @@ Root::receive_up_throttle(int t) {
|
||||
if (m_windowStatusbar != NULL)
|
||||
m_windowStatusbar->mark_dirty();
|
||||
|
||||
uint32_t throttle = std::max<int>(torrent::get_up_throttle() + t * 1024, 0);
|
||||
uint32_t throttle = std::max<int>(torrent::up_throttle() + t * 1024, 0);
|
||||
|
||||
torrent::set_up_throttle(throttle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user