* Only request from the same tracker more than once if PEX is disabled.

* Added target_any.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@970 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-08-31 11:44:21 +00:00
parent 332b4a303f
commit ac2f5a8882
6 changed files with 64 additions and 22 deletions
+6 -5
View File
@@ -64,11 +64,12 @@ public:
// These need to match CommandMap type values.
static const int call_generic = 0;
static const int call_download = 1;
static const int call_peer = 2;
static const int call_tracker = 3;
static const int call_file = 4;
static const int call_file_itr = 5;
static const int call_any = 1;
static const int call_download = 2;
static const int call_peer = 3;
static const int call_tracker = 4;
static const int call_file = 5;
static const int call_file_itr = 6;
XmlRpc() : m_env(NULL), m_registry(NULL), m_dialect(dialect_i8) {}