mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 22:59:21 +00:00
* Display size of pex for each download.
* Limit the number of PEX connections to 5 per download. * Fixed minor bugs in the new PEX code. Patch by Josef Drexler. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@981 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ Download::create_info() {
|
||||
element->push_back("");
|
||||
element->push_column("Chunks:", te_command("cat=$d.get_completed_chunks=,\" / \",$d.get_size_chunks=,\" * \",$d.get_chunk_size="));
|
||||
element->push_column("Priority:", te_command("d.get_priority="));
|
||||
element->push_column("Peer exchange:", te_command("if=$d.get_peer_exchange=,enabled,disabled"));
|
||||
element->push_column("Peer exchange:", te_command("cat=$if=$d.get_peer_exchange=\\,enabled\\,disabled,\\ (,$d.get_size_pex=,/,$d.get_max_size_pex=,)"));
|
||||
|
||||
element->push_column("State changed:", te_command("to_elapsed_time=$d.get_state_changed="));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user