- Added function
client_addr
,user_data
,is_client_connected
forRenetServer
, some utilities fromNetcodeServer
.
- Rechannel: added max_message_size configuration for channels. This also fixes an exploit over the block channel, it was possible to send a SliceMessage with a high value of number of slices, this would cause the channel to allocate a lot of memory causing out of memories errors. (commit)
- Rechannel: add fuzzing testing for processing packets (commit)
- Add Secure/Unsecure option when creating the server/client, easier for testing or prototyping. (commit)
- Genericify send/recv methods, use
Into<u8>
for channel id andInto<Bytes>
for messages (#28) - Rechannel: split channels into Sender Channels and Receiver Channels. Now server and clients can have different channels (commit)
- Rechannel: fix block messages not correctly getting acked (commit)
- Rechannel: check chunk id when receiving block messages (commit)
- Rechannel: don't initialize block messages with 0 slices. Malformed packets could crash the server/client with out of bounds accesses (commit)
- Rechannel: don't ack fragment packet on the first received fragment, only when all fragments are received (commit)
- Removed
renet::ChannelNetworkInfo
(commit)