radicle-heartwood-lfs/radicle-fetch/src/transport
Sebastian Thiel 4da63e97d1
fetch: assure that the final flush packet is consumed after receiving a pack
The pack-writer perfectly consumes all input of the pack without
overshoot,  which it can as it knows how many objects it ought
to read.

Thus, the last packetline of the pack is consumed to the last
byte without ever asking for more data that would then be denied
as the flush packet is encountered.

This needs to be accounted for in the calling code.

Signed-off-by: Sebastian Thiel <sebastian.thiel@icloud.com>
2023-11-17 12:24:10 +01:00
..
fetch.rs fetch: assure that the final flush packet is consumed after receiving a pack 2023-11-17 12:24:10 +01:00
ls_refs.rs fetch: update `gix` dependencies to the latest version 2023-11-17 12:24:10 +01:00