about summary refs log tree commit diff
path: root/tvix/store/src/pathinfoservice/memory.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-07-20T12·01+0200
committerflokli <flokli@flokli.de>2024-07-20T17·38+0000
commit5bd48de4185fb670c5c15cb4c046503b66c430c6 (patch)
treedbfdbaa2649628ea29478464f46786b2b639f41b /tvix/store/src/pathinfoservice/memory.rs
parent5d906054da2cfa68f1de201641b54c41e37524b4 (diff)
feat(tvix/nar-bridge): add 404 handler for GET/HEAD `/nar/…` r/8378
We currently send 405, and that confuses `nix copy`.
Send a 404 for now, and add a futurework, as we can actually at least do
something more meaningful in case we still have that nar hash in our
LRU, which would avoid some unnecessary uploads in some cases.

Change-Id: If625e9bd0fd6506cb73b88962d889aa08315fcea
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11987
Tested-by: BuildkiteCI
Reviewed-by: Brian Olsen <me@griff.name>
Diffstat (limited to 'tvix/store/src/pathinfoservice/memory.rs')
0 files changed, 0 insertions, 0 deletions