exposed queued disk bytes in peer_info
This commit is contained in:
@@ -303,7 +303,7 @@ int peer_index(libtorrent::tcp::endpoint addr, std::vector<libtorrent::peer_info
|
||||
void print_peer_info(std::ostream& out, std::vector<libtorrent::peer_info> const& peers)
|
||||
{
|
||||
using namespace libtorrent;
|
||||
out << " down (total) up (total) que req flags source fail hshf sndb inactive wait block-progress "
|
||||
out << " down (total) up (total) que req flags source fail hshf sndb inactive wait disk block-progress "
|
||||
#ifndef TORRENT_DISABLE_RESOLVE_COUNTRIES
|
||||
"country "
|
||||
#endif
|
||||
@@ -347,7 +347,8 @@ void print_peer_info(std::ostream& out, std::vector<libtorrent::peer_info> const
|
||||
<< to_string(i->num_hashfails, 4) << " "
|
||||
<< to_string(i->send_buffer_size, 4) << " "
|
||||
<< to_string(total_seconds(i->last_active), 8) << " "
|
||||
<< to_string(total_seconds(i->last_request), 4) << " ";
|
||||
<< to_string(total_seconds(i->last_request), 4) << " "
|
||||
<< to_string(i->pending_disk_bytes, 4) << " ";
|
||||
|
||||
if (i->downloading_piece_index >= 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user