Skip to content

0.0.9

Compare
Choose a tag to compare
@lucaspoffo lucaspoffo released this 25 Jul 05:29
· 145 commits to master since this release

Added ⭐

  • 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)
  • Add Secure/Unsecure option when creating the server/client, easier for testing or prototyping. (commit)

Changed 🛠️

  • Genericify send/recv methods, use Into<u8> for channel id and Into<Bytes> for messages (#28)
  • Rechannel: split channels into Sender Channels and Receiver Channels. Now server and clients can have different channels (commit)

Fixed 🐛

  • 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 🔥

  • Removed renet::ChannelNetworkInfo (commit)