tvl-depot/tvix/store/src
Florian Klink 7e8719be91 feat(tvix/store/pathinfosvc/nix_http): check Nar{Size,Hash} matches
Ensure the initially communicated NarHash/NarSize from the NarInfo
matches what we read, and don't return a PathInfo message if there's
a mismatch.

Also move the buffering layer around a bit.

Change-Id: I68c60ecfaf0f9cd5edacea648437ecb0c9729251
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10148
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-11-28 16:08:59 +00:00
..
bin refactor(tvix/castore/tonic): make async, support wait-connect=? 2023-11-15 06:43:31 +00:00
fs fix(tvix/store/fs): don't panic on PathInfoService error 2023-11-28 14:54:56 +00:00
nar feat(nix-compat/nar/reader): provide passthrough buffered I/O 2023-11-19 09:53:10 +00:00
pathinfoservice feat(tvix/store/pathinfosvc/nix_http): check Nar{Size,Hash} matches 2023-11-28 16:08:59 +00:00
proto feat(tvix/store): add as_narinfo() for PathInfo 2023-11-22 20:37:10 +00:00
tests refactor(tvix/store/tests/nar_renderer): use castorepb consistently 2023-11-05 12:20:19 +00:00
lib.rs refactor(tvix/store): Upgrade tokio-listener to get tonic support 2023-10-14 18:56:51 +00:00