diff --git a/include/libtorrent/settings_pack.hpp b/include/libtorrent/settings_pack.hpp index 4f44b7dad..dca60de7c 100644 --- a/include/libtorrent/settings_pack.hpp +++ b/include/libtorrent/settings_pack.hpp @@ -716,8 +716,7 @@ namespace libtorrent { { // ``tracker_completion_timeout`` is the number of seconds the tracker // connection will wait from when it sent the request until it - // considers the tracker to have timed-out. Default value is 60 - // seconds. + // considers the tracker to have timed-out. tracker_completion_timeout = int_type_base, // ``tracker_receive_timeout`` is the number of seconds to wait to @@ -727,9 +726,9 @@ namespace libtorrent { // occur. tracker_receive_timeout, - // the time to wait when sending a stopped message before considering - // a tracker to have timed out. this is usually shorter, to make the - // client quit faster + // ``stop_tracker_timeout`` is the number of seconds to wait when + // sending a stopped message before considering a tracker to have + // timed out. This is usually shorter, to make the client quit faster. stop_tracker_timeout, // this is the maximum number of bytes in a tracker response. If a diff --git a/src/http_tracker_connection.cpp b/src/http_tracker_connection.cpp index 0a7d195f7..153021cc9 100644 --- a/src/http_tracker_connection.cpp +++ b/src/http_tracker_connection.cpp @@ -210,7 +210,7 @@ namespace libtorrent { // in anonymous mode we omit the user agent to mitigate fingerprinting of // the client. Private torrents is an exception because some private - // trackers may requre the user agent + // trackers may require the user agent std::string const user_agent = settings.get_bool(settings_pack::anonymous_mode) && !tracker_req().private_torrent ? "" : settings.get_str(settings_pack::user_agent); diff --git a/src/torrent.cpp b/src/torrent.cpp index 0199fddaf..8d6677e54 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -2733,7 +2733,7 @@ namespace libtorrent { } // for UDP, only socks5 and i2p proxies will work. - // if we're not using one of those proxues with a UDP + // if we're not using one of those proxies with a UDP // tracker, skip it if (protocol == "udp" && proxy_type != settings_pack::socks5