c4ch3c4d3 b67248e14f fix: prevent frame header corruption on partial reads
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.
2026-06-03 21:10:00 -06:00
S
Description
No description provided
221 KiB
Languages
Rust 100%