mirror of
https://github.com/minetest/minetest.git
synced 2024-11-15 20:23:44 +01:00
1fe4256462
Because we get a Buffer<u8> from ConnectionEvent, don't convert it to SharedBuffer<u8> and return it to Server/Client::Receive which will convert it to NetworkPacket Instead, put the Buffer<u8> directly to NetworkPacket and return it to packet processing This remove a long existing memory copy Also check the packet size directly into Connection::Receive instead of packet processing |
||
---|---|---|
.. | ||
clientopcodes.cpp | ||
clientopcodes.h | ||
clientpackethandler.cpp | ||
CMakeLists.txt | ||
connection.cpp | ||
connection.h | ||
networkpacket.cpp | ||
networkpacket.h | ||
networkprotocol.h | ||
serveropcodes.cpp | ||
serveropcodes.h | ||
serverpackethandler.cpp |