summaryrefslogtreecommitdiff
path: root/guix/grafts.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-14 22:44:59 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-14 23:34:33 +0100
commit026ca50fa4c46a8e280cd51621bbec76b12c0757 (patch)
tree5cbbdac89dcf36482ee7f80e517adbffcc83a18e /guix/grafts.scm
parentd262a0f36baa5276076fcd160da7cf7661876eca (diff)
downloadgnu-guix-026ca50fa4c46a8e280cd51621bbec76b12c0757.tar
gnu-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 'guix/grafts.scm')
0 files changed, 0 insertions, 0 deletions