b67248e14fe7cae5e5ba7770c5d3e430d73fe82e
Frame::deserialize consumed header bytes from the buffer via get_u8/ get_u64/get_u32 even when the payload was incomplete, causing those bytes to be permanently lost on retry. Replaced with slice-based reading that never consumes until the complete frame (header + payload) is available. Added 9 new tests covering header-only, partial payload, remaining payload, header-split, and multi-frame chunked scenarios. Includes async FrameReader tests with chunked reads.
Description
No description provided
221 KiB
Languages
Rust
100%