fixed bug that would grossly underestimate the TCP/IP overhead
This commit is contained in:
parent
96e34b80b2
commit
a00ddba109
|
@ -3610,6 +3610,7 @@ namespace libtorrent
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (ec == asio::error::would_block) break;
|
if (ec == asio::error::would_block) break;
|
||||||
|
m_statistics.trancieve_ip_packet(bytes_transferred, m_remote.address().is_v6());
|
||||||
}
|
}
|
||||||
while (bytes_transferred > 0);
|
while (bytes_transferred > 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue