* Fixed a buffer overflow when writting to the output buffer. This

would in some rare occasions cause memory to be corrupted. leading to
a crash.

* Added option for setting the http proxy and proccess's umask.

* Save the total uploaded for downloads between sessions.

* Moved from sigc++ to my own lightweight slot class for the task
scheduler. This saves some 5-600kb when compiled with debugging
symbols, 1-200kb without.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@605 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-12-05 07:59:29 +00:00
parent 32a3619cd8
commit ba7d61b532
15 changed files with 250 additions and 23 deletions
+31 -12
View File
@@ -394,6 +394,15 @@
</para></listitem>
</varlistentry>
<varlistentry>
<term>http_proxy = <replaceable>url</replaceable></term>
<listitem><para>
Use a http proxy. Use an empty string to disable.
</para></listitem>
</varlistentry>
<varlistentry>
<term>encoding_list = <replaceable>encoding</replaceable></term>
<listitem><para>
@@ -464,22 +473,32 @@
</varlistentry>
<varlistentry>
<term>throttle_interval = <replaceable>ms</replaceable></term>
<term>umask = <replaceable>0644</replaceable></term>
<listitem><para>
Interval between throttle ticks in milli-seconds, must be
between <emphasis>1-5000</emphasis> and defaults to
<emphasis>1000</emphasis>. Shorter intervals will cause less
bandwidth usage spikes while requiring more CPU resources.
Set the umask for this process, which is applied to all
files created by the program.
</para></listitem>
</varlistentry>
<varlistentry>
<term>tracker_dump = <replaceable>yes | no</replaceable></term>
<listitem><para>
Dump data received from trackers to the files
"./tracker_dump.*".
</para></listitem>
</varlistentry>
<!-- <varlistentry> -->
<!-- <term>throttle_interval = <replaceable>ms</replaceable></term> -->
<!-- <listitem><para> -->
<!-- Interval between throttle ticks in milli-seconds, must be -->
<!-- between <emphasis>1-5000</emphasis> and defaults to -->
<!-- <emphasis>1000</emphasis>. Shorter intervals will cause less -->
<!-- bandwidth usage spikes while requiring more CPU resources. -->
<!-- </para></listitem> -->
<!-- </varlistentry> -->
<!-- <varlistentry> -->
<!-- <term>tracker_dump = <replaceable>yes | no</replaceable></term> -->
<!-- <listitem><para> -->
<!-- Dump data received from trackers to the files -->
<!-- "./tracker_dump.*". -->
<!-- </para></listitem> -->
<!-- </varlistentry> -->
</variablelist>