don't assert on clients sending bad packets
This commit is contained in:
@@ -1615,7 +1615,7 @@ namespace libtorrent
|
|||||||
m_statistics.received_bytes(0, received);
|
m_statistics.received_bytes(0, received);
|
||||||
// What's going on here?!
|
// What's going on here?!
|
||||||
// break in debug builds to allow investigation
|
// break in debug builds to allow investigation
|
||||||
TORRENT_ASSERT(false);
|
// TORRENT_ASSERT(false);
|
||||||
disconnect(errors::invalid_message);
|
disconnect(errors::invalid_message);
|
||||||
return packet_finished();
|
return packet_finished();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user