From fc8ca7df20dc5a1e804f40d064aefef12a5034bd Mon Sep 17 00:00:00 2001 From: rakshasa Date: Mon, 4 Jul 2005 16:14:13 +0000 Subject: [PATCH] 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 --- doc/rtorrent.1.xml | 16 +++++++++++++--- doc/rtorrent.rc | 5 ++++- src/core/download_list.cc | 2 +- src/core/manager.cc | 4 ++-- src/display/window_statusbar.cc | 13 ++++++++++--- src/main.cc | 5 ++++- src/option_handler_rules.cc | 7 ++++++- src/option_handler_rules.h | 3 +++ 8 files changed, 43 insertions(+), 12 deletions(-) diff --git a/doc/rtorrent.1.xml b/doc/rtorrent.1.xml index 45d0f0bb..50606811 100644 --- a/doc/rtorrent.1.xml +++ b/doc/rtorrent.1.xml @@ -214,7 +214,7 @@ t | T Initiate tracker request. Use capital T to force the - request, ignoring the "min interval". + request, ignoring the "min interval" set by the tracker. @@ -402,7 +402,7 @@ ADVANCED SETTINGS - This list contains settings normal users shouldn't need to touch. + This list contains settings users shouldn't need to touch. @@ -438,7 +438,17 @@ Number of files to simultaneously keep open. Libtorrent dynamically opens and closes files when mapping files to - memory. + memory. Defaults to 128. + + + + + max_open_sockets = value + + Number of sockets to simultaneously keep open. This value is + set to be sysconf(_SC_OPEN_MAX) - 256 + at startup. This gives the client 128 sockets to use as it + wishes. diff --git a/doc/rtorrent.rc b/doc/rtorrent.rc index fff1b9bd..9340f56e 100644 --- a/doc/rtorrent.rc +++ b/doc/rtorrent.rc @@ -62,7 +62,10 @@ #hash_max_tries = 10 # Max number of files to keep open simultaniously. -#max_open_files = 100 +#max_open_files = 128 + +# Number of sockets to simultaneously keep open. +#max_open_sockets = # Dump data received from trackers to the files "./tracker_dump.