From 7a9010445bc85dbd09425dc09da5edb23285702d Mon Sep 17 00:00:00 2001 From: rakshasa Date: Wed, 13 Jul 2005 18:51:19 +0000 Subject: [PATCH] * Cleaned up torrent::ProtocolBuffer. * Added enums to torrent::Tracker to allow the client to check whetever the tracker is an UDP or HTTP tracker. * Added "enable_udp_trackers" setting for disabling the use of UDP trackers, enabled by default. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@498 e378c898-3ddf-0310-93e7-cc216c733640 --- doc/rtorrent.rc | 6 ++++- src/core/download.cc | 7 +++++ src/core/download.h | 2 ++ src/core/download_slot_map.h | 4 +-- src/core/manager.cc | 35 ++++++++++++------------ src/core/manager.h | 9 ++++--- src/display/window_tracker_list.cc | 5 ++-- src/main.cc | 43 +++++++++++++++--------------- src/option_handler_rules.cc | 26 +++++++++++------- src/option_handler_rules.h | 1 + 10 files changed, 82 insertions(+), 56 deletions(-) diff --git a/doc/rtorrent.rc b/doc/rtorrent.rc index 9340f56e..ab8ca0e3 100644 --- a/doc/rtorrent.rc +++ b/doc/rtorrent.rc @@ -43,6 +43,9 @@ # fixed that causes lack of diskspace not to be properly reported. #check_hash = no +# Set whetever the client should try to connect to UDP trackers. +#use_udp_trackers = yes + # # Do not modify the following parameters unless you know what you're doing. # @@ -67,7 +70,8 @@ # Number of sockets to simultaneously keep open. #max_open_sockets = -# Dump data received from trackers to the files "./tracker_dump.