* Removed reset from ProtocolBuffer::consume.

* Added Download::skip_rate that tells us how many downloaded bytes
were skipped.

* Append '&' instead of '?' to the tracker url when the url already
has '?'.

* Added 'tracker_numwant' to the man page and moved tracker related
options to a seperate section.

* Removed Handshake::generate_hash and replaced it with sha1_salt
function in utils/sha1.h.

* Changed various encryption keys to use c_str.

* Set the handshake buffer size to the minimum required and moved them
to the end of Handshake.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@795 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-10-21 15:13:10 +00:00
parent 44a782e962
commit a72054d018
4 changed files with 71 additions and 57 deletions
+46 -39
View File
@@ -438,14 +438,6 @@ Set the maximum global upload rate.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_numwant = <replaceable>number</replaceable></term>
<listitem><para>
Set the numwant field sent to the tracker, which indicates how many
peers we want. A negative value disables this feature.
</para></listitem>
</varlistentry>
<varlistentry>
<term>bind = <replaceable>a.b.c.d</replaceable></term>
<listitem><para>
@@ -635,6 +627,52 @@ torrent::input_error exception on bad input.
</refsect1>
<refsect1>
<title>TRACKER RELATED SETTINGS</title>
<para>
Tracker related settings.
</para>
<variablelist>
<varlistentry>
<term>enable_trackers = <replaceable>yes</replaceable></term>
<listitem><para>
Set to <emphasis>no</emphasis> to disable all tracker requests. Useful
for disabling rtorrent with the <emphasis>schedule</emphasis> command.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_dump = <replaceable>filename</replaceable></term>
<listitem><para>
Dump tracker requests to <emphasis>filename</emphasis>, disable by
supplying an empty string. Only torrents loaded while
<emphasis>tracker_dump</emphasis> contains a non-empty string will be
logged at the moment, although disabling it will work as expected.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_numwant = <replaceable>number</replaceable></term>
<listitem><para>
Set the numwant field sent to the tracker, which indicates how many
peers we want. A negative value disables this feature.
</para></listitem>
</varlistentry>
<varlistentry>
<term>use_udp_trackers = <replaceable>yes</replaceable></term>
<listitem><para>
Use UDP trackers. Disable if you are behind a firewall, etc, that does
not allow connections to UDP trackers.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>USER-INTERFACE SETTINGS</title>
@@ -857,37 +895,6 @@ Save the session files for all downloads.
</para></listitem>
</varlistentry>
<varlistentry>
<term>use_udp_trackers = <replaceable>yes</replaceable></term>
<listitem><para>
Use UDP trackers. Disable if you are behind a firewall etc that does
not allow connections to UDP trackers.
</para></listitem>
</varlistentry>
<varlistentry>
<term>enable_trackers = <replaceable>yes</replaceable></term>
<listitem><para>
Set to <emphasis>no</emphasis> to disable tracker requests.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_dump = <replaceable>filename</replaceable></term>
<listitem><para>
Dump tracker requests to <emphasis>filename</emphasis>, disable by
supplying an empty string. Only torrents loaded while
<emphasis>tracker_dump</emphasis> contains a non-empty string will be
logged at the moment, although disabling it will work as expected.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tos = <replaceable>default|lowdelay|throughput|reliability|mincost</replaceable></term>
<listitem><para>