diff options
author | Florian Klink <flokli@flokli.de> | 2023-11-27T17·43+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-11-28T16·08+0000 |
commit | 7e8719be9146ed370038cb51a87c53ebea388ec3 (patch) | |
tree | 762912cadcbd9ebc0b49f2a047f0b4ff76e41bdd /third_party/overlays | |
parent | fce9c0e99ef219a97bd8ba14cf0eed6c998a1c80 (diff) |
feat(tvix/store/pathinfosvc/nix_http): check Nar{Size,Hash} matches r/7081
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
Diffstat (limited to 'third_party/overlays')
0 files changed, 0 insertions, 0 deletions