mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-14 13:16:17 +00:00
* Enable custom throttles, both per-download or per-IP. See http://libtorrent.rakshasa.no/ticket/20 for info and instructions. Patch by Josef Drexler.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1091 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -677,6 +677,29 @@ setting <emphasis>0</emphasis>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>throttle_up = <replaceable>name</replaceable>, <replaceable>upload_rate</replaceable></term>
|
||||
<term>throttle_down = <replaceable>name</replaceable>, <replaceable>download_rate</replaceable></term>
|
||||
<listitem><para>
|
||||
Define secondary throttle and/or set the given upload or download rate. Attach to a download with the d.set_throttle_name=name command
|
||||
or switch throttles with Ctrl-T. Download must be stopped when changing throttles. Note that secondary throttles only work if the
|
||||
global upload/download is throttled. Setting a download to use the <emphasis>NULL</emphasis> throttle makes the download unthrottled
|
||||
even when there is a global throttle. Note that this special case bypasses the global throttle entirely, and as such its rate and
|
||||
transfer amounts are not included in the global statistics.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>throttle_ip = <replaceable>name</replaceable>, <replaceable>host</replaceable></term>
|
||||
<term>throttle_ip = <replaceable>name</replaceable>, <replaceable>network/prefix</replaceable></term>
|
||||
<term>throttle_ip = <replaceable>name</replaceable>, <replaceable>start</replaceable>, <replaceable>end</replaceable></term>
|
||||
<listitem><para>
|
||||
Use the given secondary throttle for a host, CIDR network or IP range. All peers with a matching IP will use this throttle instead
|
||||
of the global throttle or a custom download throttle. The name may be <emphasis>NULL</emphasis> to make these peers unthrottled, with
|
||||
the same caveats as explained above.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</refsect1>
|
||||
|
||||
Reference in New Issue
Block a user