* Improved error handling for settings. LibTorrent now consistently

throws torrent::input_error and rtorrent catches those and prints good
error messages.

* torrent::set_{bind,local}_address now accepts dns addresses.

* Fixed bug that caused multiple instances of the setting
up/download_rate to change the relative rate, rather than constant.

* Minor change to the way PCB decides to not request more pieces.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@601 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-11-24 17:21:32 +00:00
parent 93c6369b69
commit 98a8fc8638
11 changed files with 140 additions and 191 deletions
+5 -2
View File
@@ -60,8 +60,11 @@ public:
WStatusbar* window_statusbar() { return m_windowStatusbar; }
void receive_down_throttle(int t);
void receive_up_throttle(int t);
void set_down_throttle(unsigned int throttle);
void set_up_throttle(unsigned int throttle);
void adjust_down_throttle(int throttle);
void adjust_up_throttle(int throttle);
private:
void setup_keys();