diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index 77b6aba947..6ec6cccce1 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.cpp @@ -184,6 +184,7 @@ std::unique_ptr NetworkTCPSocketHandler::ReceivePacket() /* Parse the size in the received packet and if not valid, close the connection. */ if (!p->ParsePacketSize()) { + DEBUG(net, 0, "ParsePacketSize failed, possible packet stream corruption"); this->CloseConnection(); return nullptr; }