fixed bug that would grossly underestimate the TCP/IP overhead

This commit is contained in:
Arvid Norberg
2008-12-01 07:23:58 +00:00
parent 96e34b80b2
commit a00ddba109

View File

@@ -3610,6 +3610,7 @@ namespace libtorrent
return;
}
if (ec == asio::error::would_block) break;
m_statistics.trancieve_ip_packet(bytes_transferred, m_remote.address().is_v6());
}
while (bytes_transferred > 0);