saves statistics from the last second from peer connections that are disconnected. Partly fixes #339
This commit is contained in:
@@ -2218,6 +2218,10 @@ namespace libtorrent
|
||||
|
||||
if (t)
|
||||
{
|
||||
// make sure we keep all the stats!
|
||||
calc_ip_overhead();
|
||||
t->add_stats(statistics());
|
||||
|
||||
if (t->has_picker())
|
||||
{
|
||||
piece_picker& picker = t->picker();
|
||||
|
Reference in New Issue
Block a user