From 536a5f897a2b408d23f4fcc20f41b52e56e33635 Mon Sep 17 00:00:00 2001
From: arvidn
For example:
-$ bjam dht-support=on boost=source release link=static +$ bjam dht-support=on link=static
On Mac OS X, this will produce the following python module:
diff --git a/docs/settings.rst b/docs/settings.rst index a1483056c..7dd1b225c 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -866,27 +866,6 @@ tracker or not. Defaults to on. Turning it off also excludes web seed traffic from other stats and download rate reporting via the libtorrent API. -.. _utp_dynamic_sock_buf: - -.. raw:: html - - - -+----------------------+------+---------+ -| name | type | default | -+======================+======+=========+ -| utp_dynamic_sock_buf | bool | true | -+----------------------+------+---------+ - -controls if the uTP socket manager is allowed to increase the -socket buffer if a network interface with a large MTU is used (such -as loopback or ethernet jumbo frames). This defaults to true and -might improve uTP throughput. For RAM constrained systems, -disabling this typically saves around 30kB in user space and -probably around 400kB in kernel socket buffers (it adjusts the send -and receive buffer size on the kernel socket, both for IPv4 and -IPv6). - .. _announce_double_nat: .. raw:: html @@ -1334,6 +1313,21 @@ pieces (and seeds) are downloaded sequentially. This is more efficient for the disk I/O. With many seeds, the download order is unlikely to matter anyway +.. _proxy_tracker_connections: + +.. raw:: html + + + ++---------------------------+------+---------+ +| name | type | default | ++===========================+======+=========+ +| proxy_tracker_connections | bool | true | ++---------------------------+------+---------+ + +if true, trackerconnections are made over the configured proxy, if +any. + .. _tracker_completion_timeout: .. raw:: html @@ -3163,6 +3157,7 @@ control the settings for incoming and outgoing connections respectively. see enc_policy enum for the available options. Keep in mind that protocol encryption degrades performance in several respects: + 1. It prevents "zero copy" disk buffers being sent to peers, since each peer needs to mutate the data (i.e. encrypt it) the data must be copied per peer connection rather than sending the same @@ -3171,7 +3166,7 @@ several respects: protocol. The highest cost is the Diffie Hellman exchange on connection setup. 3. The encryption handshake adds several round-trips to the -connection setup, and delays transferring data. + connection setup, and delays transferring data. .. _allowed_enc_level: diff --git a/include/libtorrent/session_handle.hpp b/include/libtorrent/session_handle.hpp index 9e6f7e8a5..609b182c8 100644 --- a/include/libtorrent/session_handle.hpp +++ b/include/libtorrent/session_handle.hpp @@ -273,7 +273,7 @@ namespace libtorrent // // The signature of the function to pass in is:: // - // void fun(sha1_hash const& info_hash, std::vector& buf, error_code& ec); + // void fun(sha1_hash const& info_hash, std::vector & buf, error_code& ec); void set_load_function(user_load_function_t fun); #ifndef TORRENT_NO_DEPRECATE diff --git a/include/libtorrent/settings_pack.hpp b/include/libtorrent/settings_pack.hpp index 8236ff3d9..8ae5d074e 100644 --- a/include/libtorrent/settings_pack.hpp +++ b/include/libtorrent/settings_pack.hpp @@ -1469,6 +1469,7 @@ namespace libtorrent // respectively. see enc_policy enum for the available options. // Keep in mind that protocol encryption degrades performance in // several respects: + // // 1. It prevents "zero copy" disk buffers being sent to peers, since // each peer needs to mutate the data (i.e. encrypt it) the data // must be copied per peer connection rather than sending the same @@ -1477,7 +1478,7 @@ namespace libtorrent // protocol. The highest cost is the Diffie Hellman exchange on // connection setup. // 3. The encryption handshake adds several round-trips to the - // connection setup, and delays transferring data. + // connection setup, and delays transferring data. out_enc_policy, in_enc_policy, @@ -1533,7 +1534,7 @@ namespace libtorrent fastest_upload, anti_leech }; - + enum io_buffer_mode_t { enable_os_cache = 0,