diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-14 22:44:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-14 23:34:33 +0100 |
commit | 026ca50fa4c46a8e280cd51621bbec76b12c0757 (patch) | |
tree | 5cbbdac89dcf36482ee7f80e517adbffcc83a18e /gnu/system | |
parent | d262a0f36baa5276076fcd160da7cf7661876eca (diff) | |
download | guix-026ca50fa4c46a8e280cd51621bbec76b12c0757.tar.gz |
substitute: Keep the initial connection alive.
The connection used to fetch /nix-cache-info is now reused for the subsequent narinfo requests. * guix/scripts/substitute.scm (download-cache-info)[download]: Remove. [uri, read-cache-info]: New variables. Rewrite in terms of 'http-fetch' instead of 'fetch'. Return an open port in addition to a <cache-info>. * guix/scripts/substitute.scm (http-multiple-get): Add #:port parameter and honor it. (fetch-narinfos)[do-fetch]: Add 'port' parameter. Adjust to new 'download-cache-info' and 'do-fetch' signatures.
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions