don't assert on clients sending bad packets

This commit is contained in:
Arvid Norberg
2010-04-11 17:22:21 +00:00
parent 4fec667ea1
commit ef21d26257

View File

@@ -1615,7 +1615,7 @@ namespace libtorrent
m_statistics.received_bytes(0, received);
// What's going on here?!
// break in debug builds to allow investigation
TORRENT_ASSERT(false);
// TORRENT_ASSERT(false);
disconnect(errors::invalid_message);
return packet_finished();
}