guix-devel/guix/scripts
Ludovic Courtès bb7dcaea57 substitute-binary: Avoid dangling connections to the server.
* guix/web.scm (open-socket-for-uri): New procedure.
  (http-fetch): Add `port' keyword parameter; use it.
* guix/scripts/substitute-binary.scm (%random-state): New variable.
  (with-timeout): Wait a little before retrying.
  (fetch): Use `open-socket-for-uri', and keep a copy of the socket in
  variable `port'.  Close PORT upon timeout.
2013-06-29 22:20:25 +02:00
..
build.scm build, package: Add `--fallback' option. 2013-05-29 23:22:05 +02:00
download.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
gc.scm guix gc: Add `--requisites'. 2013-06-13 22:15:41 +02:00
hash.scm tests: Add `guix hash' test. 2013-05-11 15:09:56 +02:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
package.scm package: Fix i18n of the number of packages message. 2013-06-20 23:41:31 +02:00
pull.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
refresh.scm guix refresh: Add '--key-download'. 2013-06-10 08:15:17 +00:00
substitute-binary.scm substitute-binary: Avoid dangling connections to the server. 2013-06-29 22:20:25 +02:00