summary refs log tree commit diff
path: root/nix/nix-daemon
diff options
context:
space:
mode:
authorMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-28 19:03:59 +0100
committerMiguel Ángel Arruga Vivas <rosen644835@gmail.com>2020-10-28 19:29:11 +0100
commit504fd36a85e1054aec8179011bf2ca012e32b92e (patch)
tree0be4b7de307ae2a7d0c01659f082b177e76ebb37 /nix/nix-daemon
parent83c60bb0622440afe98930820186ddfa1e6e8b2f (diff)
downloadguix-504fd36a85e1054aec8179011bf2ca012e32b92e.tar.gz
substitute: Do not discard ttl info when the response code is 202.
* guix/scripts/substitute.scm (fetch-narinfos)
[handle-narinfo-response]: Add code 202 to the condition.  This will
allow in the future the use of 404 for nar requests which cannot be
built in the present, leaving for the 202 to indicate that a request has
triggered a nar generation that might be completed later, as specified
in <https://www.ietf.org/rfc/rfc2616.txt>.
Diffstat (limited to 'nix/nix-daemon')
0 files changed, 0 insertions, 0 deletions