fixed issue with metadata-less torrents and their statistics updates
This commit is contained in:
@@ -1520,6 +1520,8 @@ namespace libtorrent
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
m_statistics.second_tick(tick_interval);
|
||||||
|
|
||||||
if (!t->valid_metadata()) return;
|
if (!t->valid_metadata()) return;
|
||||||
|
|
||||||
// calculate the desired download queue size
|
// calculate the desired download queue size
|
||||||
@@ -1583,8 +1585,6 @@ namespace libtorrent
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_statistics.second_tick(tick_interval);
|
|
||||||
|
|
||||||
// If the client sends more data
|
// If the client sends more data
|
||||||
// we send it data faster, otherwise, slower.
|
// we send it data faster, otherwise, slower.
|
||||||
// It will also depend on how much data the
|
// It will also depend on how much data the
|
||||||
|
Reference in New Issue
Block a user