tvl-depot/tvix/store/src/pathinfoservice
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
..
from_addr.rs feat(tvix/store/pathinfoservice): implement NixHTTPPathInfoService 2023-11-19 13:19:24 +00:00
grpc.rs refactor(tvix/castore/tonic): make async, support wait-connect=? 2023-11-15 06:43:31 +00:00
memory.rs refactor(tvix/store/pathinfosvc): inline MemoryPathInfoSvc::from_url 2023-11-15 06:43:31 +00:00
mod.rs feat(tvix/store/pathinfoservice): implement NixHTTPPathInfoService 2023-11-19 13:19:24 +00:00
nix_http.rs feat(tvix/store/pathinfosvc/nix_http): check Nar{Size,Hash} matches 2023-11-28 16:08:59 +00:00
sled.rs refactor(tvix/store/pathinfosvc): inline SledPathInfoSvc::from_url 2023-11-15 06:43:31 +00:00