mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 21:52:30 +00:00
* Added interface for changing download priority.
* More throttle fiddling. * Pop the currently uploaded piece from the send list. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@591 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include "core/manager.h"
|
||||
#include "ui/root.h"
|
||||
#include "utils/directory.h"
|
||||
|
||||
#include "control.h"
|
||||
@@ -146,12 +147,12 @@ apply_connection_seed(Control* m, const std::string& arg) {
|
||||
|
||||
void
|
||||
apply_global_download_rate(Control* m, int arg) {
|
||||
torrent::set_down_throttle(arg * 1024);
|
||||
m->ui()->receive_down_throttle(arg);
|
||||
}
|
||||
|
||||
void
|
||||
apply_global_upload_rate(Control* m, int arg) {
|
||||
torrent::set_up_throttle(arg * 1024);
|
||||
m->ui()->receive_up_throttle(arg);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user