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