You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)