mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 21:22:31 +00:00
* 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:
@@ -102,6 +102,8 @@ Download::Download(download_type d) :
|
||||
m_variables.insert("up_total", new utils::VariableValueSlot(rak::mem_fn(m_download.up_rate(), &torrent::Rate::total), NULL));
|
||||
m_variables.insert("down_rate", new utils::VariableValueSlot(rak::mem_fn(m_download.down_rate(), &torrent::Rate::rate), NULL));
|
||||
m_variables.insert("down_total", new utils::VariableValueSlot(rak::mem_fn(m_download.down_rate(), &torrent::Rate::total), NULL));
|
||||
m_variables.insert("skip_rate", new utils::VariableValueSlot(rak::mem_fn(m_download.skip_rate(), &torrent::Rate::rate), NULL));
|
||||
m_variables.insert("skip_total", new utils::VariableValueSlot(rak::mem_fn(m_download.skip_rate(), &torrent::Rate::total), NULL));
|
||||
|
||||
m_variables.insert("priority", new utils::VariableValueSlot(rak::mem_fn(this, &Download::priority), rak::mem_fn(this, &Download::set_priority)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user