mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 02:32:32 +00:00
Fixed bug that cause exception to be thrown when erasing a download.
Moved to using SocketAddress within src/net. Enabled SocketManager. Changed API to use uint32_t instead of int. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@485 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -106,7 +106,7 @@ validate_hash_max_tries(int arg) {
|
||||
|
||||
bool
|
||||
validate_fd(int arg) {
|
||||
return arg >= 10 && arg < (1 << 16);
|
||||
return arg >= 1 && arg < (1 << 16);
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -177,6 +177,11 @@ apply_max_open_files(ui::Control* m, int arg) {
|
||||
torrent::set_max_open_files(arg);
|
||||
}
|
||||
|
||||
void
|
||||
apply_max_open_sockets(ui::Control* m, int arg) {
|
||||
torrent::set_max_open_sockets(arg);
|
||||
}
|
||||
|
||||
void
|
||||
apply_throttle_interval(ui::Control* m, int arg) {
|
||||
torrent::set_throttle_interval(arg * 1000);
|
||||
|
||||
Reference in New Issue
Block a user