forked from premiere/premiere-libtorrent
minor typos and documentation changes in settings
This commit is contained in:
parent
9ebbcc2d69
commit
87592d50f2
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue