* Added Peer Exchange support, enable with the "peer_exchange"

option. Patch by Josef Drexler, public domain as per earlier
agreement.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@968 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-08-30 20:35:23 +00:00
parent 73c41074ec
commit 332b4a303f
7 changed files with 20 additions and 1 deletions
+2
View File
@@ -320,6 +320,8 @@ initialize_command_network() {
ADD_COMMAND_VALUE_UN("enable_trackers", std::ptr_fun(&apply_enable_trackers));
ADD_COMMAND_STRING_UN("encoding_list", std::ptr_fun(&apply_encoding_list));
ADD_VARIABLE_BOOL("peer_exchange", false);
// Not really network stuff:
ADD_VARIABLE_BOOL("handshake_log", false);
ADD_VARIABLE_STRING("tracker_dump", "");