ndelvalle / rustdis

Partial Redis server implementation using Rust for learning purposes.
https://docs.rs/rustdis
0 stars 0 forks source link

Fix read frame logic when there are partial frames on the TCP stream #13

Closed ndelvalle closed 6 months ago

ndelvalle commented 6 months ago

This is a temporal solution, trying reading a frame each time to verify that the frame can be read is not effective. We need to think a better way. We can probably rely on the data size that each data type has.