add a bunch more stats logged to session stats

This commit is contained in:
Arvid Norberg
2011-03-17 05:31:06 +00:00
parent 9fafd2f3e6
commit 0b25b87593
5 changed files with 51 additions and 11 deletions

View File

@@ -2931,6 +2931,9 @@ namespace libtorrent
// mark the peer as banned
m_policy.ban_peer(p);
#ifdef TORRENT_STATS
++m_ses.m_banned_for_hash_failure;
#endif
if (p->connection)
{